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; }
public StudentTeamRepository(OlympiadContext context) { _context = context; }
public DepartmentRepository(OlympiadContext context) { _context = context; }
public InstructorRepository(OlympiadContext context) { _context = context; }
public UniversityRepository(OlympiadContext context) { _context = context; }
public ClientManagerReposiroty(OlympiadContext context) { _context = context; }