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; }
public async Task <Newsletter> ExecuteAsync(SingleNewsletterByIdQuery query) { var result = await _tableClient.GetItemOf <Newsletter>(query.Id); return(result); }