public ActionResult Index() { if (Request.Cookies["DefaultProjectName"] != null) { string projectName = Request.Cookies["DefaultProjectName"].Value; ProjectDocumentLatestValueFilesViewModel projectDocumentLatestValueFilesViewModel = _projectDocumentValueFileService.GetLatestValueFiles(projectName); return(View(projectDocumentLatestValueFilesViewModel)); } else { return(View("~/Views/Shared/SelectDefaultProject.cshtml")); } }