示例#1
0
        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);
        }
示例#2
0
 private void SetUpSpecified(IGetChannelItemRepository GetChannelItemRepository)
 {
     interactor = new GetChannelItemInteractor(GetChannelItemRepository);
 }