public bool MatchdayExist(int matchdayId) { return(Matchdays.Any(x => x.Id == matchdayId)); }
public Matchday GetMatchdayById(int id) { return(Matchdays.Find(id)); }
public void RemoveMatchday(Matchday matchday) { Matchdays.Remove(matchday); }
public void CreateMatchday(Matchday matchday) { Matchdays.Add(matchday); SaveChanges(); }