public TightsCreateService(ITightsDataAccess tightsDataAccess, ISupplierGetService supplierGetService, IBuyerGetService buyerGetService) { TightsDataAccess = tightsDataAccess; BuyerGetService = buyerGetService; SupplierGetService = supplierGetService; }
public SupplierController(ILogger <SupplierController> logger, IMapper mapper, ISupplierCreateService supplierCreateService, ISupplierGetService supplierGetService, ISupplierUpdateService supplierUpdateService) { this.Logger = logger; this.SupplierCreateService = supplierCreateService; this.SupplierGetService = supplierGetService; this.SupplierUpdateService = supplierUpdateService; this.Mapper = mapper; }