public void DeleteSchool(Model.School.School school) { ResporitorySchool resporitorySchool = new ResporitorySchool(new DAL.MyContext()); resporitorySchool.Delete(school); }
public void AddSchool(Model.School.School school) { ResporitorySchool resporitorySchool = new ResporitorySchool(new DAL.MyContext()); resporitorySchool.Add(school); }