Пример #1
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="TicketController" /> class.
 /// </summary>
 /// <param name="login"></param>
 public TicketController(ITicketBll ticket, ITicketCommentBll ticketComment)
 {
     _ticket        = ticket;
     _ticketComment = ticketComment;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TicketBllTest" /> class.
 /// </summary>
 /// <param name="io">The IoCConfig class provide installing all components needed to use.</param>
 public TicketBllTest(IoCConfig io)
 {
     _ticket = io.ServiceProvider.GetRequiredService <ITicketBll>();
 }
Пример #3
0
 public CheckQueueStatusBll(ITicketBll ticketBll, ILogger logger, AppSettings appSettings)
 {
     _ticketBll          = ticketBll;
     _botsWithQueueCheck = appSettings.BotConfigurations.BotsWithQueueCheck;
     _logger             = logger;
 }