public CustomerController(IToastNotification toastNotification, CustomerServiceInterface _customerService, CustomerRepositoryInterface _customerRepo, SaleServiceInterface _saleService) { _toastNotification = toastNotification; this._customerService = _customerService; this._customerRepo = _customerRepo; }
public CustomerApiController(CustomerRepositoryInterface customerRepo, CustomerServiceInterface customerService, CustomerTansactionRepositoryInterface transactionRepo) { _customerRepo = customerRepo; _customerService = customerService; _transactionRepo = transactionRepo; }