public JsonResult GetBrandMonitorList() { var list = new List <BrandMonitorCategory>(); var newlist = new List <BrandMonitorCategory>(); try { list = _brandManager.GetBrandMonitorList(); foreach (var items in list) { var brandMonitor = new BrandMonitorCategory(); brandMonitor.Id = items.Id; brandMonitor.Name = items.Name; brandMonitor.Type = items.Type; brandMonitor.Remarks = items.Remarks; newlist.Add(brandMonitor); } } catch (Exception ex) { } return(Json(new { data = newlist }, JsonRequestBehavior.AllowGet)); }