示例#1
0
 public void ActualizarCertificadoEmpresa(string strDatos)
 {
     try
     {
         JObject parametrosJO   = JObject.Parse(strDatos);
         int     intIdEmpresa   = int.Parse(parametrosJO.Property("Id").Value.ToString());
         string  strCertificado = parametrosJO.Property("Datos").Value.ToString();
         servicioMantenimiento.ActualizarCertificadoEmpresa(intIdEmpresa, strCertificado);
     }
     catch (Exception ex)
     {
         throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError);
     }
 }