示例#1
0
 public HttpResponseMessage listSalidaCombustibleReporte([FromBody] SalidaCombustibleReporteVo list)
 {
     try
     {
         IDictionary <string, IList <ReporteDetalleSalidaC> > data = new Dictionary <string, IList <ReporteDetalleSalidaC> >();
         data.Add("data", reportes_service.getlistSalidaCombustibleReporte(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));
     }
 }
示例#2
0
 public IList <ReporteDetalleSalidaC> getlistSalidaCombustibleReporte(SalidaCombustibleReporteVo salidaComReporteVo)
 {
     //return reportes_repository.getListVale(reportes_vo);
     return(reportes_repository.getlistSalidaCombustibleReporte(salidaComReporteVo));
 }