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;
示例#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)
 {
 }
示例#8
0
 public GetAccountByIdQuery(PiggyContext context, int accountId) : base(context)
     => _accountId = accountId;
 public UpdatePartialTransferOperationHandler(PiggyContext context, UpdatePartialTransferOperationCommand command)
     : base(context, command)
 {
 }
示例#10
0
 public DeleteOperationService(PiggyContext context)
 {
     _context = context;
 }
 public AddTransferOperationHandler(PiggyContext context, AddTransferOperationCommand command)
     : base(context, command)
 {
 }
示例#12
0
 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)
 {
 }
示例#15
0
 public DeleteCategoriesHandler(PiggyContext context, DeleteCategoriesCommand command)
     : base(context, command)
 {
 }
 public UpdateBudgetOperationHandler(PiggyContext context, UpdateBidgetOperationCommand command)
     : base(context, command)
 {
 }
示例#17
0
 public HandlerDispatcher(PiggyContext context, ILogger logger)
 => (_context, _logger) = (context, logger);
 public AddCategoryBatchHandler(PiggyContext context, AddCategoryBatchCommand command) : base(context, command)
 {
 }
示例#19
0
 public OperationService(PiggyContext context, ILogger logger) : base(context, logger)
 {
 }
示例#20
0
 public AccountService(PiggyContext context, ILogger logger) : base(context, logger)
 {
 }
 public GetTransferOperationQuery(PiggyContext context, GetOperationQuery query) : base(context)
     => _query = query;
示例#22
0
 public UpdateAccountHandler(PiggyContext context, UpdateAccountCommand command)
     : base(context, command)
 {
 }
示例#23
0
 public GetAccountsQuery(PiggyContext context, Guid userId, bool all) : base(context)
     => (_userId, _all) = (userId, all);
示例#24
0
 protected BaseHandler(PiggyContext context, TCommand command) : base(context)
     => Command = command;
示例#25
0
 public QueryDispatcher(PiggyContext context, ILogger logger)
 => (_context, _logger) = (context, logger);
示例#26
0
 public AddAccountBatchHandler(PiggyContext context, AddAccountBatchCommand command) : base(context, command)
 {
 }
示例#27
0
 public DeleteAccountsHandler(PiggyContext context, DeleteAccountsCommand command)
     : base(context, command)
 {
 }
示例#28
0
 public DbWorker(PiggyContext context)
 => _context = context;
 public AddBudgetOperationHandler(PiggyContext context, AddBudgetOperationCommand command)
     : base(context, command)
 {
 }
示例#30
0
 public GetOperationsQuery(PiggyContext context, GetOperationsCommand command)
     : base(context)
     => _command = command;