Ejemplo n.º 1
0
        public GetChannelResponse GetChannel(string channelId)
        {
            var repository = new GetChannelMongoDatabaseRepository(this.GetMongoDatabase());
            var interactor = new GetChannelInteractor(repository);

            var response = interactor.Execute();

            response.ChannelId = channelId;
            return(response);
        }
Ejemplo n.º 2
0
 private void SetUpSpecified(IGetChannelRepository GetChannelRepository)
 {
     interactor = new GetChannelInteractor(GetChannelRepository);
 }