Esempio n. 1
0
        public async Task <JsonResult> GetCatalog(int id)
        {
            var result = await GyglCategoryService.getCatalogByID(id);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
Esempio n. 2
0
        public async Task <JsonResult> GetCategoryList(int y, int p)
        {
            var result = await GyglCategoryService.getSearchCatalog(y, p);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }