Exemple #1
0
 public SalesController(
     ISalesService salesService,
     ILoggerService loggerService,
     IHubContext <SaleLogsHub, ISaleLogsClient> saleLogHubContext,
     ISaleLogsService saleLogsService,
     ISaleMessagesService saleChatService)
 {
     this.salesService      = salesService;
     this.loggerService     = loggerService;
     this.saleLogHubContext = saleLogHubContext;
     this.saleLogsService   = saleLogsService;
     this.saleChatService   = saleChatService;
 }
Exemple #2
0
 public SaleChatHub(ISalesService salesService, ISaleMessagesService saleMessagesService)
 {
     this.salesService        = salesService;
     this.saleMessagesService = saleMessagesService;
 }