public JsonResult GetMotivosReclamos() { WSTercerosLiquidaciones.TercerosLiquidacionesSoapClient wsClient = new WSTercerosLiquidaciones.TercerosLiquidacionesSoapClient(); wsClient.Open(); DataSet ds = wsClient.GetMotivosReclamos(); wsClient.Close(); List <MotivoReclamo> lstMotivoReclamo = new List <MotivoReclamo>(); foreach (DataRow item in ds.Tables[0].Rows) { lstMotivoReclamo.Add(new MotivoReclamo(item)); } return(Json(lstMotivoReclamo, JsonRequestBehavior.AllowGet)); }