public async Task <IActionResult> Add(OrderDetails[] orderDetails) { var result = await _orderDetailsService.MultiAdd(orderDetails); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }
public async Task <IActionResult> Add(OrderDetails[] orderDetails) { var result = await _orderDetailsService.MultiAdd(orderDetails); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }