public TransportMeanController(ITransportMeanRepository repository, ICommentRepository commentRepository)
 {
     EnsureArg.IsNotNull(repository);
     EnsureArg.IsNotNull(commentRepository);
     _repository        = repository;
     _commentRepository = commentRepository;
 }
Beispiel #2
0
 public UserController(IUserRepository repository, ITransportMeanRepository transportMean)
 {
     EnsureArg.IsNotNull(repository);
     _repository    = repository;
     _transportMean = transportMean;
 }