コード例 #1
0
 public PaymentController(PaymentService paymentService, ExpenditureService expenditureService)
 {
     _paymentService     = paymentService;
     _expenditureService = expenditureService;
 }
コード例 #2
0
 public ExpenditureController(ExpenditureService expenditureService, CategoryService categoryService, PaymentService paymentService)
 {
     _expenditureService = expenditureService;
     _categoryService    = categoryService;
     _paymentService     = paymentService;
 }
コード例 #3
0
        public async Task <DataTableResponse <ExpenditureModel> > GetExpenditure(DataTableQuery query)
        {
            var expenditureService = new ExpenditureService();

            return(await expenditureService.GetPaginatedExpenditure(query));
        }
コード例 #4
0
 public CategoryController(CategoryService categoryService, ExpenditureService expenditureService)
 {
     _categoryService    = categoryService;
     _expenditureService = expenditureService;
 }