Example #1
0
        public void GetFilterOptions(long id)
        {
            string json = "";

            IEnumerable <string> filterOptions = new List <string>();
            IMediaDetail         detail        = MediaDetailsMapper.GetByID(id);

            if (detail != null)
            {
                filterOptions = MediaDetailsMapper.GetFilterOptions(detail);
            }

            WriteJSON(filterOptions.ToJson());
        }