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); }
private void SetUpSpecified(IGetChannelRepository GetChannelRepository) { interactor = new GetChannelInteractor(GetChannelRepository); }