Пример #1
0
 public UpdateAccountCommand(IBot bot, IAccountService accountService,
                             IBotUIService botUIService, IAccountUpdatingService accountUpdatingService,
                             IUserService userService, IMapper mapper) : base(bot)
 {
     this.accountService         = accountService;
     this.botUIService           = botUIService;
     this.accountUpdatingService = accountUpdatingService;
     this.userService            = userService;
     this.mapper = mapper;
 }
Пример #2
0
 public AddAccountCommand(IBot bot, IAccountService accountService,
                          IUserService userService, IAccountAssemblingService accountAssemblingService,
                          IBotUIService botUIService) : base(bot)
     => (this.accountService, this.userService, this.accountAssemblingService, this.botUIService)