public ActionResult Edit(Guid listId) { var result = ListService.GetListByListId(listId); if (result != null && this.User.Identity.GetUserId() == result.Id) { return(View(new EditListViewModel(result))); } return(RedirectToAction("Index")); }