Ejemplo n.º 1
0
        public override void OnActionExecuting(ActionExecutingContext context)
        {
            FTISFactory  m_FTISFactory = new FTISFactory();
            IFTISService m_FTISService = m_FTISFactory.GetFTISService();
            IDictionary <string, string> conditions = new Dictionary <string, string>();

            if (OnlyOpen)
            {
                conditions.Add("Status", "1");
            }

            IList <string> epaperYearList = m_FTISService.GetEpaperYearList(conditions);

            context.Controller.ViewData["EpaperYearList"] = epaperYearList;
        }