public TeacherController(SolarSystemDbContext context)
 {
     _context  = context;
     _solarDAL = new SolarDAL();
 }
Esempio n. 2
0
 public StudentController(SolarSystemDbContext context, IHttpContextAccessor httpContextAccessor)
 {
     _context             = context;
     _solarDal            = new SolarDAL();
     _httpContextAccessor = httpContextAccessor;
 }