public async Task <JsonResult> GetCatalog(int id) { var result = await GyglCategoryService.getCatalogByID(id); return(Json(result, JsonRequestBehavior.AllowGet)); }
public async Task <JsonResult> GetCategoryList(int y, int p) { var result = await GyglCategoryService.getSearchCatalog(y, p); return(Json(result, JsonRequestBehavior.AllowGet)); }