public ActionResult SaveList(CreateListViewModel list) { list.OwnerID = User.Identity.GetUserId(); //save in database listRepository.AdddList(list.ConvertToList()); return(RedirectToAction("Index")); }