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