public void UpdateOrder(OrderDto OrderDto) { var Order = _unitOfWork.Orders.GetBy(OrderDto.OrderId); if (Order == null) { return; } OrderDto.Map(Order); _unitOfWork.Complete(); }
public void UpdateOrder(OrderDto OrderDto) { var Order = _unitOfWork.Orders.GetBy(OrderDto.OrderId); if (Order == null) { return; } OrderDto.Map(Order); _unitOfWork.Complete(); }