public CustomersController(IUnitOfWork <Customer> uowCustomer, IUnitOfWork <CustomerPayement> uowPayement, IHostEnvironment _hosting, ILogger <CustomersController> Logger) { _repositoryCustomer = new CustomerService(uowCustomer); _repositoryPayement = new PayementService(uowPayement); this._hosting = _hosting; this.logger = Logger; }
public CustomersPayementController(IUnitOfWork <CustomerPayement> uowPayement, IUnitOfWork <Customer> uowCustomer) { _repositoryPayement = new PayementService(uowPayement); _customerRepo = new CustomerService(uowCustomer); }