public GetChannelItemResponse GetChannelItem(string channelItemId) { var repository = new GetChannelItemMongoDatabaseRepository(this.GetMongoDatabase()); var interactor = new GetChannelItemInteractor(repository); var response = interactor.Execute(channelItemId); response.ChannelItemId = channelItemId; return(response); }
private void SetUpSpecified(IGetChannelItemRepository GetChannelItemRepository) { interactor = new GetChannelItemInteractor(GetChannelItemRepository); }