public async Task <IActionResult> Post([FromBody] Order Order) { try { await _OrderBusiness.AddAsync(Order); } catch (Exception ex) { return(StatusCode(500, "Oops, Something went wrong.")); } return(Ok()); }
public async Task <IActionResult> Post([FromBody] Order Order) { try { await _OrderBusiness.AddAsync(Order); } catch (Exception ex) { return(StatusCode(500, "Oops, Something went wrong.")); } return(Ok()); }