コード例 #1
0
        public ActionResult SaveList(CreateListViewModel list)
        {
            list.OwnerID = User.Identity.GetUserId();
            //save in database
            listRepository.AdddList(list.ConvertToList());

            return(RedirectToAction("Index"));
        }