Agribusiness.Web.Controllers.SiteController.Edit C# (CSharp) Method

Edit() private method

private Edit ( string id ) : System.Web.Mvc.ActionResult
id string
return System.Web.Mvc.ActionResult
        public ActionResult Edit(string id)
        {
            var site = RepositoryFactory.SiteRepository.GetNullableById(id);
            if (site == null)
            {
                Message = "Site could not be found.";
                return RedirectToAction("Index");
            }

            return View(site);
        }

Same methods

SiteController::Edit ( string id, string name, string subdomain, string eventType, string description, string welcome, string background, int backgroundPerson, string venue, string venueEmbeddedMap, System.Web.HttpPostedFileBase logo, System.Web.HttpPostedFileBase splash ) : System.Web.Mvc.ActionResult