예제 #1
0
        public async Task <Newsletter> Get(Guid id)
        {
            var query    = new SingleNewsletterByIdQuery(id);
            var speakers = await _queryProcessor.ProcessAsync(query);

            return(speakers);
        }
 public async Task<Newsletter> Get(Guid id)
 {
     var query = new SingleNewsletterByIdQuery(id);
     var speakers = await _queryProcessor.ProcessAsync(query);
     return speakers;
 }
예제 #3
0
        public async Task <Newsletter> ExecuteAsync(SingleNewsletterByIdQuery query)
        {
            var result = await _tableClient.GetItemOf <Newsletter>(query.Id);

            return(result);
        }