コード例 #1
0
 public ChitDueService(IUnitOfWork unitOfWork,
                       IAccountBookService bookService,
                       IVoucherTypeService voucherTypeService) : base(unitOfWork)
 {
     this.bookService    = bookService;
     this.voucherService = voucherTypeService;
 }
コード例 #2
0
 public ChitDueController(IChitDueService chitDueService,
                          IVoucherTypeService voucherTypeService,
                          IAccountBookService accountBookService)
 {
     this._chitDueService = chitDueService;
     _voucherTypeService  = voucherTypeService;
     _accountBookService  = accountBookService;
 }
コード例 #3
0
 public FeedController(
     IAccountBookService accountBookService)
 {
     //var unitOfWork = new EFUnitOfWork();
     //this.accountBookService = new AccountBookService(unitOfWork);
     //this.logService = new LogService(unitOfWork);
     this.accountBookService = accountBookService;
 }
コード例 #4
0
 public SubscribeService(IUnitOfWork <ApiContext> unitOfWork,
                         IAccountBookService bookService,
                         IVoucherTypeService voucherTypeService)
     : base(unitOfWork)
 {
     _unitOfWork              = unitOfWork;
     this.bookService         = bookService;
     this._voucherTypeService = voucherTypeService;
 }
コード例 #5
0
 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;
 }