Esempio n. 1
0
 public EFUnitOfWork(string connectionString)
 {
     _context       = new OlympiadContext(connectionString);
     _userManager   = new ApplicationUserManager(new UserStore <ApplicationUser>(_context));
     _roleManager   = new ApplicationRoleManager(new RoleStore <ApplicationRole>(_context));
     _clientManager = new ClientManagerReposiroty(_context);
 }
 public OlympiadRepository(OlympiadContext context)
 {
     _context = context;
 }
 public OlympiadStudentRepository(OlympiadContext context)
 {
     _context = context;
 }
Esempio n. 4
0
 public StudentTeamRepository(OlympiadContext context)
 {
     _context = context;
 }
 public DepartmentRepository(OlympiadContext context)
 {
     _context = context;
 }
 public InstructorRepository(OlympiadContext context)
 {
     _context = context;
 }
 public UniversityRepository(OlympiadContext context)
 {
     _context = context;
 }
Esempio n. 8
0
 public ClientManagerReposiroty(OlympiadContext context)
 {
     _context = context;
 }