public Form1() { InitializeComponent(); Context = new GeoGrafijaEntities(); LocationsRepository = new LocationsRepository(Context); UserRepository = new UserRepository(Context); }
public LocationsRepository(IDbContext context) { this.context = (GeoGrafijaEntities)context; }
public QuestionRepository(IDbContext context) { _context = (GeoGrafijaEntities)context; }
public RolesRepository(IDbContext context) { this.context = (GeoGrafijaEntities)context; }
public AnswerRepository(IDbContext context) { _context = (GeoGrafijaEntities)context; }
public StudentQuizResultRepository(IDbContext context) { _context = (GeoGrafijaEntities)context; }
public ResourceTypeRepository(IDbContext context) { this.context = (GeoGrafijaEntities)context; }