public HttpResponseMessage listSalidaCombustibleReportePDF([FromBody] SalidaCombustibleReportePDFVo list) { try { IDictionary <string, IList <ReporteDetalleSalidaC> > data = new Dictionary <string, IList <ReporteDetalleSalidaC> >(); data.Add("data", reportes_service.getlistSalidaCombustibleReportePDF(list)); return(Request.CreateResponse(HttpStatusCode.OK, data)); } catch (Exception e) { IDictionary <string, string> data = new Dictionary <string, string>(); data.Add("message", String.Format("There was an error attending the request; {0}.", e.ToString())); return(Request.CreateResponse(HttpStatusCode.BadRequest, data)); } }
public IList <ReporteDetalleSalidaC> getlistSalidaCombustibleReportePDF(SalidaCombustibleReportePDFVo reportesalidaPDFVo) { //return reportes_repository.getListVale(reportes_vo); return(reportes_repository.getlistSalidaCombustibleReportePDF(reportesalidaPDFVo)); }