コード例 #1
0
 public ActionResult GetCompraDetalle(int id)
 {
     try
     {
         return(Ok(service.GetAllCompraDetalleByCompraId(id)));
     }
     catch (Exception ex)
     {
         AltivaLog.Log.Insertar(ex.ToString(), "Error");
         return(BadRequest());
     }
 }