Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
//[AuthorizeUserAccessLevel(UserRole = "SuperAdmin,Admin,UserRole")] public ActionResult Edit(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } Location location = _locationmanager.SelectList(x => x.Id == id).FirstOrDefault(); if (location == null) { return(HttpNotFound()); } return(View(location)); }