Boy_Scouts_Scheduler.Controllers.GroupController.PartialEditView C# (CSharp) 메소드

PartialEditView() 보호된 메소드

protected PartialEditView ( Group group = null ) : System.Web.Mvc.PartialViewResult
group Boy_Scouts_Scheduler.Models.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);
        }