/** * Save the changes made to the database */ public bool SaveChanges() { try { return(_context.SaveChanges() >= 0); } catch { return(false); } }
/** * Save the changes made to the database */ public bool SaveChanges() { return(_context.SaveChanges() >= 0); }