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