/// <summary> /// base school /// </summary> /// public SchoolEntity GetBase_School() { if (BaseSchoolId == null) { throw new NullReferenceException(); } return(_schoolsv.GetBaseSchoolById(BaseSchoolId)); }
public ActionResult update(string key) { SchoolEntity school = schoolSv.GetBaseSchoolById(key); return(PartialView(school)); }