/// <summary> /// /// </summary> /// <param name="listID"></param> /// <returns></returns> public ListDTO GetListByID(string listID, string ProjectID) { TblList list = _listRepository.GetListByID(listID, ProjectID); ListDTO Lists = _mapper.Map <ListDTO>(list); return(Lists); }
public ActionResult ViewList(int listID) { var listViewModel = listRepository.GetListByID(listID).ConvertToListViewModel(User.Identity.GetUserId()); return(View(listViewModel)); }