예제 #1
0
 public ActionResult GetCompraDetalle(int id)
 {
     try
     {
         return(Ok(service.GetAllComprasDetalleServicioByCompraId(id)));
     }
     catch (Exception ex)
     {
         AltivaLog.Log.Insertar(ex.ToString(), "Error");
         return(BadRequest());
     }
 }