public IEnumerable <School> GetSchools() { var context = new SchoolSystem.Infrastructure.EF.SchoolSystemDbContext(); return(context.Schools.ToList()); }
public IEnumerable<School> GetSchools() { var context = new SchoolSystem.Infrastructure.EF.SchoolSystemDbContext(); return context.Schools.ToList(); }