public ActionResult Index()
{
var isPublic = !(CurrentUser.IsInRole(RoleNames.User) || CurrentUser.IsInRole(RoleNames.Admin));
if (isPublic)
{
return this.RedirectToAction<HomeController>(a => a.Index(false));
}
var viewModel = ActiveSurveyViewModel.Create(Repository, isPublic);
return View(viewModel);
}