YouConf.Controllers.ConferenceController.Delete C# (CSharp) 메소드

Delete() 개인적인 메소드

private Delete ( string hashTag ) : System.Web.Mvc.ActionResult
hashTag string
리턴 System.Web.Mvc.ActionResult
        public ActionResult Delete(string hashTag)
        {
            var conference = YouConfDbContext.Conferences
                .FirstOrDefault(x => x.HashTag == hashTag);
            if (conference == null)
            {
                return HttpNotFound();
            }

            return View(conference);
        }