BootstrapMVC.Controllers.HomeController.Index C# (CSharp) 메소드

Index() 공개 메소드

public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult
        public ActionResult Index()
        {
            HoneyBadgerSvc service = new HoneyBadgerSvc();
            HomeLookupViewModel model = new HomeLookupViewModel();
            model.IncidentYears = service.LoadIncidentYears();
            model.IncidentTypes = service.LoadIncidentTypes();
            return View(model);
        }