public PaymentController(PaymentService paymentService, ExpenditureService expenditureService) { _paymentService = paymentService; _expenditureService = expenditureService; }
public ExpenditureController(ExpenditureService expenditureService, CategoryService categoryService, PaymentService paymentService) { _expenditureService = expenditureService; _categoryService = categoryService; _paymentService = paymentService; }
public async Task <DataTableResponse <ExpenditureModel> > GetExpenditure(DataTableQuery query) { var expenditureService = new ExpenditureService(); return(await expenditureService.GetPaginatedExpenditure(query)); }
public CategoryController(CategoryService categoryService, ExpenditureService expenditureService) { _categoryService = categoryService; _expenditureService = expenditureService; }