public Team CreateTeam(Enums.Classification classification, string name, County county)
 {
     using (teamViewContext)
     {
         return teamViewContext.CreateTeam(classification, name, county);
     }
 }
 public Competition UpdateCompetition(Competition comp, string name, DateTime startDate, DateTime endDate, County county)
 {
     return competitionViewContext.UpdateCompetition(comp, name, startDate, endDate, county);
 }
 public List<Competition> GetCompetitionsByCountyAndYear(County county, DateTime year)
 {
     return competitionViewContext.GetCompetitionsByCountyAndYear(county, year);
 }
 public Competition GetCompetitionByNameYearAndCounty(string name, DateTime year, County county)
 {
     return competitionViewContext.GetCompetitionByNameYearAndCounty(name, year, county);
 }
 public Competition CreateCompetition(string name, DateTime startDate, DateTime endDate, County county)
 {
     return competitionViewContext.CreateCompetition(name, startDate, endDate, county);
 }
 public County UpdateCounty(County county, string name, Enums.Provinces province)
 {
     throw new NotImplementedException();
 }
 public County DeleteCounty(County county)
 {
     throw new NotImplementedException();
 }
 public Venue UpdateVenue(Venue venue, string name, string location, County county)
 {
     return venueViewContext.UpdateVenue(venue, name, location, county);
 }
 public List<Venue> GetVenuesByCounty(County county)
 {
     throw new NotImplementedException();
 }
 public Venue CreateVenue(string name, string location, County county)
 {
     return venueViewContext.CreateVenue(name, location, county);
 }
 private void bindClubsToComboBox(ComboBox cb, County county)
 {
     using (TeamView _context = new TeamView(context))
     {
         cb.DataSource = _context.GetClubsByCounty(county);
         cb.ValueMember = "ID";
         cb.DisplayMember = "Name";
     }
 }
 public List<ClubTeam> GetClubsByCounty(County county)
 {
     using (teamViewContext)
     {
         return teamViewContext.GetClubsByCounty(county);
     }
 }
 public ClubTeam GetClub(string name, County county)
 {
     using (teamViewContext)
     {
         return teamViewContext.GetClub(name, county);
     }
 }