public bool Commit() { try { return(_context.SaveChanges() > 0); } catch (System.Exception ex) { Console.Write(ex); return(false); } }
public int SaveChanges() => Db.SaveChanges();
public bool Commit() { try { return(_context.SaveChanges() > 0); } catch (System.Exception ex) { Console.Write(ex); return(false); } }
public int SaveChanges() => Db.SaveChanges();