Пример #1
0
 public UpdateController(IBotUpdateService updateService)
 {
     _updateService = updateService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TelegramController"/> class.
 /// </summary>
 /// <param name="botUpdate"><see cref="IBotUpdateService"/>.</param>
 /// <param name="context"><see cref="MarketplaceContext"/>.</param>
 /// <param name="userContextService"><see cref="UserContextService"/>.</param>
 public TelegramController(IBotUpdateService botUpdate, MarketplaceContext context, IUserContextService userContextService)
 {
     this.botUpdate          = botUpdate;
     this.context            = context;
     this.userContextService = userContextService;
 }