Пример #1
0
 public void ActualizarListadoReporte(string strDatos)
 {
     try
     {
         JObject parametrosJO             = JObject.Parse(strDatos);
         int     intIdEmpresa             = int.Parse(parametrosJO.Property("Id").Value.ToString());
         string  strListado               = parametrosJO.Property("Datos").Value.ToString();
         List <ReportePorEmpresa> listado = serializer.Deserialize <List <ReportePorEmpresa> >(strListado);
         servicioMantenimiento.ActualizarReportePorEmpresa(intIdEmpresa, listado);
     }
     catch (Exception ex)
     {
         throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError);
     }
 }