예제 #1
0
 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;
 }
예제 #2
0
 public BillPaymentService(IBillPaymentRepository BillPaymentRepository, IUnitOfWork unitOfWork)
 {
     this._BillPaymentRepository = BillPaymentRepository;
     this._unitOfWork            = unitOfWork;
 }