예제 #1
0
        private ChannelWithSubscriptionCount ToChannelStatistics(RssChannel model)
        {
            var projection = new ChannelWithSubscriptionCount
            {
                Title             = model.Title,
                Id                = model.Id,
                SubscriptionCount = model.Subscriptions.Count
            };

            return(projection);
        }
 private ChannelWithSubscriptionCount ToChannelStatistics(RssChannel model)
 {
     var projection = new ChannelWithSubscriptionCount
     {
         Title = model.Title,
         Id = model.Id,
         SubscriptionCount = model.Subscriptions.Count
     };
     return projection;
 }