示例#1
0
 /// <author>Eddy Wilmer Canaza Tito</author>
 /// <summary>
 /// Constructor de la clase AuthController
 /// </summary>
 /// <param name="signInManager">Administrador de registro.</param>
 /// <param name="userManager">Administrador de usuarios.</param>
 /// <param name="repository">Instancia del repositorio.</param>
 /// <param name="context">Contexto de la aplicación.</param>
 public AuthController(SignInManager <ApplicationUser> signInManager,
                       UserManager <ApplicationUser> userManager,
                       MatriculasContext context)
 {
     _signInManager = signInManager;
     _context       = context;
     _userManager   = userManager;
 }
示例#2
0
 public AppRepository(MatriculasContext context, UserManager <ApplicationUser> userManager)
 {
     _context        = context;
     _userManager    = userManager;
     Alumnos         = new AlumnosRepository(_context);
     Colaboradores   = new ColaboradoresRepository(_context);
     Cargos          = new CargosRepository(_context);
     Grados          = new GradosRepository(_context);
     Secciones       = new SeccionesRepository(_context);
     Niveles         = new NivelesRepository(_context);
     Cursos          = new CursosRepository(_context);
     Profesores      = new ProfesoresRepository(_context);
     AniosAcademicos = new AniosAcademicosRepository(_context);
     Cronogramas     = new CronogramasRepository(_context);
     Matriculas      = new MatriculasRepository(_context);
 }
示例#3
0
 public CronogramasRepository(MatriculasContext context)
 {
     _context = context;
 }
示例#4
0
 public AniosAcademicosRepository(MatriculasContext context)
 {
     _context = context;
 }
示例#5
0
 public CursosRepository(MatriculasContext context)
 {
     _context = context;
 }
示例#6
0
 public NivelesRepository(MatriculasContext context)
 {
     _context = context;
 }
示例#7
0
 public AlumnosRepository(MatriculasContext context)
 {
     _context = context;
 }
示例#8
0
 public SeccionesRepository(MatriculasContext context)
 {
     _context = context;
 }
示例#9
0
 public GradosRepository(MatriculasContext context)
 {
     _context = context;
 }
示例#10
0
 public ColaboradoresRepository(MatriculasContext context)
 {
     _context = context;
 }
示例#11
0
 public ProfesoresRepository(MatriculasContext context)
 {
     _context = context;
 }