public void UpdateTournamentStyle(TournamentStyle tournamentStyle) { context.Entry(tournamentStyle).State = EntityState.Modified; }
public void DeleteTournamentStyle(int TournamentStyleID) { TournamentStyle tournamentStyle = context.TournamentStyles.Find(TournamentStyleID); context.TournamentStyles.Remove(tournamentStyle); }
public void InsertTournamentStyle(TournamentStyle tournamentStyle) { context.TournamentStyles.Add(tournamentStyle); }
public ListItemTournamentStyle(TournamentStyle val) { this.Value = val; }