public BillPaymentManager(IHttpContextAccessor contextAccessor, IBillRepository billRepository, IVendorRepository vendorRepository, IBillPaymentRepository billPaymentRepository, ITransactionRepository transactionRepository, IBankAccountRepository bankAccountRepository, IUnitOfWork unitOfWork) { _userId = contextAccessor.HttpContext.User.GetUserId(); _billRepository = billRepository; _vendorRepository = vendorRepository; _billPaymentRepository = billPaymentRepository; _transactionRepository = transactionRepository; _bankAccountRepository = bankAccountRepository; _unitOfWork = unitOfWork; }
public BillPaymentService(IBillPaymentRepository BillPaymentRepository, IUnitOfWork unitOfWork) { this._BillPaymentRepository = BillPaymentRepository; this._unitOfWork = unitOfWork; }