public IActionResult GetAllOrders() { try { var response = _orderAppService.GetAllOrders(); return(Ok(response.Result)); } catch (Exception ex) { return(BadRequest(ex.ToString())); } }
public IActionResult GetAllOrders() { try { var response = _orderAppService.GetAllOrders(); return(Ok(response.Result)); } catch (Exception ex) { return(BadRequest(ex.ToString())); } }