Пример #1
0
 public AuthService(Skype2Context databaseContext, IAuthorizationCache authorizationCache, IConfiguration configuration, IHashService hashService, IAuthorizationService authorizationService)
 {
     _databaseContext      = databaseContext;
     _authorizationCache   = authorizationCache;
     _configuration        = configuration;
     _hashService          = hashService;
     _authorizationService = authorizationService;
 }
Пример #2
0
 public MessagesController(Skype2Context database)
 {
     _database = database;
 }
Пример #3
0
 public UserController(Skype2Context databaseContext, IAuthService authService, IImageService imageService)
 {
     _databaseContext = databaseContext;
     _authService     = authService;
     _imageService    = imageService;
 }
Пример #4
0
 public SessionController(IAuthService authService, Skype2Context databaseContext, IHashService hashService)
 {
     _authService     = authService;
     _databaseContext = databaseContext;
     _hashService     = hashService;
 }
Пример #5
0
 public ImageService(IHostingEnvironment environment, Skype2Context databaseContext)
 {
     _environment     = environment;
     _databaseContext = databaseContext;
 }