Ejemplo n.º 1
0
 public ClassController(Data.StudentDbContext _studentContext, Data.ResourceDbContext _resourceDbContext, Data.UserDbContext _userDb,
                        IAuthorizationService _authService)
 {
     studentDbContext  = _studentContext;
     resourceDbContext = _resourceDbContext;
     userDbContext     = _userDb;
     authService       = _authService;
 }
Ejemplo n.º 2
0
 public UsersController(Services.IUserService _user_service, IAuthorizationService _authService, Data.UserDbContext _userDbContext)
 {
     user_service  = _user_service;
     authService   = _authService;
     userDbContext = _userDbContext;
 }