public int Complete() { try { var value = context.SaveChanges(); return(value); } catch (Exception e) { Console.WriteLine(e.StackTrace); throw e; } }
public int Complete() { //The number of objects written to the underlying database. return(context.SaveChanges()); }
public int Complete() { return(context.SaveChanges()); }