public bool Save() { try { schoolProjectContext.SaveChanges(); return(true); } catch { return(false); } }
//Save public void Save() { schoolProjectContext.SaveChanges(); }