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