Esempio n. 1
0
 public BanUserService(IUserService userService,
                       IHubContext <ServerHub> hubContext,
                       IUserConnectionService userConnectionService,
                       IDataBaseNotificationService notificationService)
 {
     _userService           = userService;
     _hubContext            = hubContext;
     _userConnectionService = userConnectionService;
     _notificationService   = notificationService;
 }
Esempio n. 2
0
 public ValuesController(IWebHostEnvironment webHostEnvironment,
                         IDataBaseNotificationService dataBaseNotificationManager,
                         IGenericRepository <User> userGR,
                         IEmailService emailService)
 {
     _webHostEnvironment          = webHostEnvironment;
     _dataBaseNotificationManager = dataBaseNotificationManager;
     _userGR       = userGR;
     _emailService = emailService;
 }
Esempio n. 3
0
        public LoginService(IUserService userService,
                            ITokenService tokenService,
                            IDataBaseNotificationService dataBaseNotificationService,
                            IImageService imageService,
                            IMapper mapper)

        {
            _userService  = userService;
            _tokenService = tokenService;
            _dataBaseNotificationService = dataBaseNotificationService;
            _imageService = imageService;
            _mapper       = mapper;
        }
Esempio n. 4
0
 public DirectMessageService(IGenericRepository <DirectMessage> directMessageGR,
                             IGenericRepository <DirectChat> directChatGR,
                             IDataBaseNotificationService dataBaseNotificationService,
                             IUserService userService,
                             IJsonConverterService jsonConverterService,
                             IChatEventService chatEventService,
                             IMapper mapper)
 {
     _directMessageGR             = directMessageGR;
     _directChatGR                = directChatGR;
     _dataBaseNotificationService = dataBaseNotificationService;
     _userService          = userService;
     _jsonConverterService = jsonConverterService;
     _chatEventService     = chatEventService;
     _mapper = mapper;
 }
Esempio n. 5
0
 public NotificationController(IDataBaseNotificationService dataBaseNotificationService)
 => _dataBaseNotificationService = dataBaseNotificationService;