public void Save() { _db.SaveChanges(); }
public void Add(User user) { _usr.Users.Add(user); _usr.SaveChanges(); }
public void Remove(Fighter fighter) { _fight.Fighters.Remove(_fight.Fighters.Find(fighter.FighterId)); _fight.SaveChanges(); }
public void Save() { _db.SaveChanges(); }
public void Add(User user) { _usr.Users.Add(user); _usr.SaveChanges(); }
public void Remove(Fighter fighter) { _fight.Fighters.Remove(_fight.Fighters.Find(fighter.FighterId)); _fight.SaveChanges(); }