public void Add(Transport transport) { _unitOfWork.TransportRepository.Add(_transportMapper.FromDomainToEntity(transport)); }
public Order GetOrderByInvolvedTransport(Transport transport) { return(_orderMapper.FromEntityToDomain(_unitOfWork.OrderRepository.GetByInvolvedTransport(_transportMapper.FromDomainToEntity(transport)))); }