常用方法
常用方法
常用方法
常用方法
public ActionResult AssignPlayer(int id) { EventCountry EC = db.GetEventCountry(id); AssignPlayerVM model = new AssignPlayerVM { EventCountry = EC, Players = new SelectList(db.GetPlayersForYear(EC.Event.Year), "PlayerGuid", "Name") }; return(View(model)); }