Esempio n. 1
0
 public void ActualizarParametroSistema(string strDatos)
 {
     try
     {
         JObject parametrosJO = JObject.Parse(strDatos);
         int     intId        = int.Parse(parametrosJO.Property("IdParametro").Value.ToString());
         string  strValor     = parametrosJO.Property("Valor").Value.ToString();
         servicioMantenimiento.ActualizarParametroSistema(intId, strValor);
     }
     catch (Exception ex)
     {
         throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError);
     }
 }