public bool Save()
 {
     try
     {
         schoolProjectContext.SaveChanges();
         return(true);
     }
     catch
     {
         return(false);
     }
 }
예제 #2
0
 //Save
 public void Save()
 {
     schoolProjectContext.SaveChanges();
 }