YouConf.Controllers.ConferenceController.Edit C# (CSharp) Method

Edit() private method

private Edit ( string hashTag ) : System.Web.Mvc.ActionResult
hashTag string
return System.Web.Mvc.ActionResult
        public ActionResult Edit(string hashTag)
        {
            var conference = YouConfDbContext.Conferences
                .FirstOrDefault(x => x.HashTag == hashTag);
            if (conference == null)
            {
                return HttpNotFound();
            }
            if (!IsCurrentUserAuthorizedToAdministerConference(conference))
            {
                return HttpUnauthorized();
            }
            return View(conference);
        }

Same methods

ConferenceController::Edit ( string currentHashTag, Conference conference ) : System.Web.Mvc.ActionResult