public IActionResult Get([FromQuery] OrderDetailsModel model) { return(Ok(_orderDetailOperations.Get(model))); }
public IActionResult GetById([FromRoute] int id) { var result = _orderDetail.Get(id); return(Ok(result)); }