public ActionResult SingIn(int id) { TeamFormViewModel1 model = TeamFormViewModel1.CreateTeamFormViewModel1(); model.TeamId = id; return(View(model)); }
/// <summary> /// Creation method for creating the view model. Services may be passed to the creation /// method to instantiate items such as lists for drop down boxes. /// </summary> public static TeamFormViewModel1 CreateTeamFormViewModel1() { TeamFormViewModel1 viewModel = new TeamFormViewModel1(); return viewModel; }
/// <summary> /// Creation method for creating the view model. Services may be passed to the creation /// method to instantiate items such as lists for drop down boxes. /// </summary> public static TeamFormViewModel1 CreateTeamFormViewModel1() { TeamFormViewModel1 viewModel = new TeamFormViewModel1(); return(viewModel); }