protected PartialEditView ( |
||
group | ||
리턴 | System.Web.Mvc.PartialViewResult |
protected PartialViewResult PartialEditView(Group group = null)
{
ViewBag.GroupTypes = db.GroupTypes.ToList();
ViewBag.Stations = db.Stations.Where(s => s.Event.ID == eventID).ToList();
ViewBag.Stations.Insert(0, new Station { ID = -1 }); // Allow null preferences
return PartialView("Edit", group);
}