public ActionResult Index() { var repo = new TeamRepo(); var teams = repo.GetTeams(1); return View(teams); }
public ActionResult AddTeam() { var repo = new TeamRepo(); var VM = new AddTeamVM(); VM.TeamList = repo.GetTeams(1); return View(VM); }
public ActionResult Index() { var repo = new TeamRepo(); var teams = repo.GetTeams(1); return View(teams); }
public ActionResult AddTeam() { var repo = new TeamRepo(); var VM = new AddTeamVM(); VM.TeamList = repo.GetTeams(1); return View(VM); }