public GetChartByCategoriesQuery(PiggyContext context, GetChartCommand command) : base(context)
     => _command = command;
 public ArchiveCategoryHandler(PiggyContext context, ArchiveCategoryCommand command)
     : base(context, command)
 {
 }
 public GetBudgetOperationQuery(PiggyContext context, GetOperationQuery query) : base(context)
     => _query = query;
Example #4
0
 protected ServiceBase(PiggyContext context, ILogger logger)
 {
     HandlerDispatcher = new HandlerDispatcher(context, logger);
     QueryDispatcher   = new QueryDispatcher(context, logger);
 }
 public GetChartByExpensePerDays(PiggyContext context, GetChartCommand command) : base(context)
     => _command = command;
 public DeleteOperationsHandler(PiggyContext context, DeleteOperationsCommand command)
     : base(context, command)
 {
 }
 public ArchiveAccountHandler(PiggyContext context, ArchiveAccountCommand command)
     : base(context, command)
 {
 }
Example #8
0
 public GetAccountByIdQuery(PiggyContext context, int accountId) : base(context)
     => _accountId = accountId;
 public UpdatePartialTransferOperationHandler(PiggyContext context, UpdatePartialTransferOperationCommand command)
     : base(context, command)
 {
 }
Example #10
0
 public DeleteOperationService(PiggyContext context)
 {
     _context = context;
 }
 public AddTransferOperationHandler(PiggyContext context, AddTransferOperationCommand command)
     : base(context, command)
 {
 }
 public GetCategoriesQuery(PiggyContext context, Guid userId, bool all)
     : base(context)
     => (_userId, _all) = (userId, all);
 public DeleteTransferOperationHandler(PiggyContext context, DeleteTransferOperationCommand command)
     : base(context, command)
 {
 }
 public DeleteBudgetOperationHandler(PiggyContext context, DeleteBudgetOperationCommand command)
     : base(context, command)
 {
 }
Example #15
0
 public DeleteCategoriesHandler(PiggyContext context, DeleteCategoriesCommand command)
     : base(context, command)
 {
 }
 public UpdateBudgetOperationHandler(PiggyContext context, UpdateBidgetOperationCommand command)
     : base(context, command)
 {
 }
Example #17
0
 public HandlerDispatcher(PiggyContext context, ILogger logger)
 => (_context, _logger) = (context, logger);
 public AddCategoryBatchHandler(PiggyContext context, AddCategoryBatchCommand command) : base(context, command)
 {
 }
Example #19
0
 public OperationService(PiggyContext context, ILogger logger) : base(context, logger)
 {
 }
Example #20
0
 public AccountService(PiggyContext context, ILogger logger) : base(context, logger)
 {
 }
 public GetTransferOperationQuery(PiggyContext context, GetOperationQuery query) : base(context)
     => _query = query;
Example #22
0
 public UpdateAccountHandler(PiggyContext context, UpdateAccountCommand command)
     : base(context, command)
 {
 }
Example #23
0
 public GetAccountsQuery(PiggyContext context, Guid userId, bool all) : base(context)
     => (_userId, _all) = (userId, all);
Example #24
0
 protected BaseHandler(PiggyContext context, TCommand command) : base(context)
     => Command = command;
Example #25
0
 public QueryDispatcher(PiggyContext context, ILogger logger)
 => (_context, _logger) = (context, logger);
Example #26
0
 public AddAccountBatchHandler(PiggyContext context, AddAccountBatchCommand command) : base(context, command)
 {
 }
Example #27
0
 public DeleteAccountsHandler(PiggyContext context, DeleteAccountsCommand command)
     : base(context, command)
 {
 }
Example #28
0
 public DbWorker(PiggyContext context)
 => _context = context;
 public AddBudgetOperationHandler(PiggyContext context, AddBudgetOperationCommand command)
     : base(context, command)
 {
 }
 public GetOperationsQuery(PiggyContext context, GetOperationsCommand command)
     : base(context)
     => _command = command;