public ActionResult ArchiveList() { if ((CodeFirstSecurity.IsAuthenticated) && (CodeFirstRoleServices.IsUserInRole(CodeFirstSecurity.CurrentUserName, BgResources.Security_PremiumRole))) { return(PartialView("_archiveListView", BlogServices.FindAllPostsByDate(true))); } else { return(PartialView("_archiveListView", BlogServices.FindAllPostsByDate(false))); } }