Пример #1
0
 public HomeController(ISysResourceService resourceServicee,
                       IOaMessageService messageService,
                       IPermissionStorageContainer permissionStorage)
 {
     _resourceService   = resourceServicee;
     _messageService    = messageService;
     _permissionStorage = permissionStorage;
 }
Пример #2
0
 public MessageController(IServiceProvider serviceProvider, IOaMessageService messageService)
 {
     _hubContext          = serviceProvider.GetService <IHubContext <MessageHub> >();
     this._messageService = messageService;
 }
Пример #3
0
 public MessageController(IOaMessageService messageService)
 {
     this._messageService = messageService;
 }