using System.Collections.Generic; using DR.FV2016.Web.Models.Constituency; namespace DR.FV2016.Web.Models { public class AllConstituenciesViewModel : FvViewBase { /*private static readonly string PriorityAndLatestAgent = ConfigurationManager.AppSettings["PriorityAndLatestAgentUrl"]; private static readonly string MostReadAgent = ConfigurationManager.AppSettings["MostReadAgentUrl"]; */ public List GreaterConstituencies { get; set; } public AllConstituenciesViewModel() { GreaterConstituencies = new List(); } /* if (!createAgents) return; PrioritizedNews = Mapper.Map(AgentHelper.GetAgentFromCms("fv_prioritized_news", PriorityAndLatestAgent)); LatestNews = Mapper.Map(AgentHelper.GetAgentFromCms("fv_latest_news",PriorityAndLatestAgent).Limit(14)); MostReadLastWeek = Mapper.Map(AgentHelper.GetAgentFromCms("fv_mest_laeste_uge", MostReadAgent).Limit(5)); MostRead24Hour = Mapper.Map(AgentHelper.GetAgentFromCms("fv_mest_laeste_24t", MostReadAgent).Limit(5)); }*/ } }