public ViewResult AddClub(Club club) { if (ModelState.IsValid) { ClubRepository.addClub(club); return(View("ListClubs", ClubRepository.Clubs)); } else { return(View()); } }
public ViewResult AddClub(Club club) { if (ModelState.IsValid) { ClubRepository.addClub(club); return(View("ListClubs", ClubRepository.Clubs)); } else { return(View()); } }