public async Task <ActionResult <OrderResponseDTO> > OrderGetById(int orderId) { var order = await _orderRespository.GetById(orderId); if (order is null) { return(NotFound()); } return(_mapper.Map <OrderResponseDTO>(order)); }
public async Task <ActionResult <OrderResponseDTO> > OrderGetById(int orderId) { var order = await _orderRespository.GetById(orderId); if (order is null) { return(NotFound()); } return(_mapper.Map <OrderResponseDTO>(order)); }