public override void Update(Bowler bowler) { db.Bowlers.Attach(bowler); var entry = db.Entry(bowler); entry.Property(p => p.Name).IsModified = true; db.SaveChanges(); }
public int Save() { return(db.SaveChanges()); }