public JsonResult GetAllBrand() { var catalogDao = new CatalogDao(); var brands = catalogDao.GetCatalogBrand(); return(Json(new { brands = brands.Items }, JsonRequestBehavior.AllowGet)); }
public JsonResult GetAllBrand() { var catalogDao = new CatalogDao(); var brands = catalogDao.GetCatalogBrand(); return(Json(new { brands = brands.Items }, JsonRequestBehavior.AllowGet)); }