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