예제 #1
0
        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"));
        }