public FreshersService() { connectionFactory = ConnectionHelper.GetConnection(); context = new DbContext(connectionFactory); freshersRepository = new FreshersRepository(context); }
public CollegesService() { connectionFactory = ConnectionHelper.GetConnection(); context = new DbContext(connectionFactory); collegesRepository = new CollegesRepository(context); }
private AdminMasterService() { connectionFactory = ConnectionHelper.GetConnection(); context = new DbContext(connectionFactory); adminRepo = new AdminRepository(context); }
private RolesService() { connectionFactory = ConnectionHelper.GetConnection(); context = new DbContext(connectionFactory); rolesRepo = new RolesRepository(context); }
public StudentService() { connectionFactory = ConnectionHelper.GetConnection(); context = new DbContext(connectionFactory); studentsRepository = new StudentsRepository(context); }