Exemplo n.º 1
0
 public HomeController(AccountDbContext accountDbContext, ShardDbContext shardDbContext, LogDbContext logDbContext, PanelDbContext panelDbContext)
 {
     _accountDbContext = accountDbContext;
     _shardDbContext   = shardDbContext;
     _logDbContext     = logDbContext;
     _panelDbContext   = panelDbContext;
 }
 public StudentSeed(StudentUnitOfWork studentUnitOfWork, TeacherUnitOfWork teacherUnitOfWork, PanelDbContext context)
     : base(context)
 {
     _studentUnitOfWork = studentUnitOfWork;
     _teacherUnitOfWork = teacherUnitOfWork;
     student1           = new Student();
     student2           = new Student();
     teacher            = new Teacher();
     _studentId1        = new Guid("E9F4D579-BD00-4D52-6CC1-08D72ED16B52");
     _studentId2        = new Guid("A78DAD5A-4174-4FE6-6F4F-08D72EE2F493");
     _teacherId         = new Guid("1FF1F11E-774F-4819-6CC0-08D72ED16B52");
 }