public async Task <IActionResult> Delete(Guid orderId) { try { await _repository.DeleteOrderAsync(orderId); return(Ok()); } catch (Exception e) { return(NotFound(e.Message)); } }
public async Task <IActionResult> Delete(Guid orderId) { try { await _repository.DeleteOrderAsync(orderId); return(Ok()); } catch (Exception e) { return(NotFound(e.Message)); } }