Esempio n. 1
0
        public JsonResult GetAllBrand()
        {
            var catalogDao = new CatalogDao();
            var brands     = catalogDao.GetCatalogBrand();

            return(Json(new
            {
                brands = brands.Items
            }, JsonRequestBehavior.AllowGet));
        }