| Total Complexity | 1 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import { Injectable } from '@nestjs/common'; |
||
| 6 | |||
| 7 | @Injectable() |
||
| 8 | export class ShippingCostRepository implements IShippingCostRepository { |
||
| 9 | constructor( |
||
| 10 | @InjectRepository(ShippingCost) |
||
| 11 | private readonly repository: Repository<ShippingCost> |
||
| 12 | ) {} |
||
| 13 | |||
| 14 | public save(shippingCost: ShippingCost): Promise<ShippingCost> { |
||
| 15 | return this.repository.save(shippingCost); |
||
| 16 | } |
||
| 18 |