Ejemplo n.º 1
0
        public ResponseInfoModel GetCateInfo(string RefNo)
        {
            ResponseInfoModel json = new ResponseInfoModel()
            {
                Success = 1, Result = new object()
            };

            try
            {
                var outputList = _articleCategoryService.FrontlistByRefNo(RefNo);
                json.Result = new ListInfo()
                {
                    List = outputList
                };
            }
            catch (Exception e)
            {
                DisposeUserFriendlyException(e, ref json, "api/category/getcateinfo", LocalizationConst.QueryFail);
            }
            return(json);
        }