public ActionResult PendingDetails(int id)
{
var survey = _surveyRepository.GetNullableById(id);
if (survey == null)
{
return this.RedirectToAction(a => a.Index());
//return RedirectToAction("Index");
}
var viewModel = SurveyPendingResponseDetailViewModel.Create(Repository, survey);
return View(viewModel);
}