Esempio n. 1
0
        public IEnumerable HowTagIntellisense(string TagName, string premalink, string websitename)
        {
            try
            {
                _lsttag = new List <DtoTag>();
                _daltag = new DalTag();
                IEnumerable query = "";
                _lsttag = _daltag.HowTagIntellisense(TagName, premalink, websitename);

                if (_lsttag != null)
                {
                    query = from c in _lsttag
                            select new
                    {
                        Value = c.TagId.ToString(),
                        Name  = c.TagName
                    };
                }
                return(query);
            }
            catch (Exception ex)
            {
                ex.ToExceptionless().Submit();
            }
            return(null);
        }