Beispiel #1
0
        public JsonResult GetProveedoresById(int ProveedoresId)
        {
            List <mProveedores> model = clsProvee.mostrarById(ProveedoresId);
            string value = string.Empty;

            value = JsonConvert.SerializeObject(model, Formatting.Indented, new JsonSerializerSettings {
                ReferenceLoopHandling = ReferenceLoopHandling.Ignore
            });
            return(Json(value, JsonRequestBehavior.AllowGet));
        }