Пример #1
0
 public HomeController()
 {
     courseRepo   = new CourseBizRepository();
     context      = new RhealAssignmentDBContext();
     appdbContext = new ApplicationDbContext();
 }
 public CourseBizRepository()
 {
     context = new RhealAssignmentDBContext();
 }
 public AccountController()
 {
     AppDbContext   = new ApplicationDbContext();
     rhealDbContext = new RhealAssignmentDBContext();
 }
 public StudentController()
 {
     studentRepo = new StudentBizRepository();
     context     = new RhealAssignmentDBContext();
 }
Пример #5
0
 public AreaOfInterestBizRepository()
 {
     context = new RhealAssignmentDBContext();
 }
 public TrainerController()
 {
     trainerRepo = new TrainerBizRepository();
     context     = new RhealAssignmentDBContext();
 }
Пример #7
0
 public CourseController()
 {
     courseRepo = new CourseBizRepository();
     context    = new RhealAssignmentDBContext();
 }
 public TrainerBizRepository()
 {
     context = new RhealAssignmentDBContext();
 }
 public StudentBizRepository()
 {
     context = new RhealAssignmentDBContext();
 }