public ChitDueService(IUnitOfWork unitOfWork, IAccountBookService bookService, IVoucherTypeService voucherTypeService) : base(unitOfWork) { this.bookService = bookService; this.voucherService = voucherTypeService; }
public ChitDueController(IChitDueService chitDueService, IVoucherTypeService voucherTypeService, IAccountBookService accountBookService) { this._chitDueService = chitDueService; _voucherTypeService = voucherTypeService; _accountBookService = accountBookService; }
public FeedController( IAccountBookService accountBookService) { //var unitOfWork = new EFUnitOfWork(); //this.accountBookService = new AccountBookService(unitOfWork); //this.logService = new LogService(unitOfWork); this.accountBookService = accountBookService; }
public SubscribeService(IUnitOfWork <ApiContext> unitOfWork, IAccountBookService bookService, IVoucherTypeService voucherTypeService) : base(unitOfWork) { _unitOfWork = unitOfWork; this.bookService = bookService; this._voucherTypeService = voucherTypeService; }
public HomeController( IAccountBookService accountBookService, ILogService logService) { //var unitOfWork = new EFUnitOfWork(); //this.accountBookService = new AccountBookService(unitOfWork); //this.logService = new LogService(unitOfWork); this.accountBookService = accountBookService; this.logService = logService; this.defaultPageSize = 20; }