public SupplierService(IUnitOfWork unitOfWork, ISupplierRepository supplierRepository, ISupplierSearchRepository supplierSearchRepository) : base(unitOfWork, supplierRepository) { try { _unitOfWork = unitOfWork; _supplierRepository = supplierRepository; _supplierSearchRepository = supplierSearchRepository; } catch (Exception ex) { throw ex; } }
public SupplierService(IUnitOfWork unitOfWork, ISupplierRepository supplierRepository, ISupplierSearchRepository supplierSearchRepository, IRouteRepository routeRepository, ISupplierTypeRepository supplierTypeRepository, ISupplierPaymentTypeRepository supplierPaymentTypeRepository, ISupplierFundsRepository supplierFundsRepository, IPaymentTypeRepository paymentTypeRepository, IBankRepository bankRepository) : base(unitOfWork, supplierRepository) { try { _unitOfWork = unitOfWork; _supplierRepository = supplierRepository; _supplierSearchRepository = supplierSearchRepository; _routeRepository = routeRepository; _supplierTypeRepository = supplierTypeRepository; _supplierPaymentTypeRepository = supplierPaymentTypeRepository; _supplierFundsRepository = supplierFundsRepository; _paymentTypeRepository = paymentTypeRepository; _bankRepository = bankRepository; } catch (Exception ex) { throw ex; } }