public ActionResult ChangeUserAccess(int docId) { var model = new UsersAccessControlViewModel() { DocumentID = docId, Users = Mapper.Map <IEnumerable <User>, IEnumerable <UserBasicInfo> >(accessRepository.UsersWithAccess(docId)) }; return(PartialView(model)); }