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