Example #1
0
 public AccountsController(
     IAccountService accountService,
     SignInManager <User> signInManager,
     IAutoOperationsService autoOperationsService,
     ICategoryService categoryService,
     ITransactionService transactionService
     )
 {
     _accountService        = accountService;
     _signInManager         = signInManager;
     _autoOperationsService = autoOperationsService;
     _categoryService       = categoryService;
     _transactionService    = transactionService;
 }
 public TransactionController(
     IHttpContextAccessor httpContextAccessor,
     ICategoryService categoryService,
     ITransactionService transactionService,
     IAccountService accountService,
     IGoalService goalService,
     IAutoOperationsService autoOperationsService,
     IExcelExportService excelExportService
     )
 {
     _httpContextAccessor   = httpContextAccessor;
     _categoryService       = categoryService;
     _transactionService    = transactionService;
     _accountService        = accountService;
     _goalService           = goalService;
     _autoOperationsService = autoOperationsService;
     _excelExportService    = excelExportService;
 }