예제 #1
0
        public async Task <Speaker> ExecuteAsync(SpeakerByIdQuery query)
        {
            var result = await _tableClient.GetItemOf <Speaker>(query.Id);

            return(result);
        }
        public async void Handle(DeleteSpeakerCommand command)
        {
            var speaker = await _tableClient.GetItemOf <Speaker>(command.Id);

            _tableClient.DeleteItemOf <Speaker>(speaker);
        }
        public async Task <Event> ExecuteAsync(SingleEventByIdQuery query)
        {
            var result = await _tableClient.GetItemOf <Event>(query.Id);

            return(result);
        }
예제 #4
0
        public async Task <Usergroup> ExecuteAsync(SingleUsergroupByIdQuery query)
        {
            var result = await _tableClient.GetItemOf <Usergroup>(query.Id);

            return(result);
        }
예제 #5
0
        public async Task <Newsletter> ExecuteAsync(SingleNewsletterByIdQuery query)
        {
            var result = await _tableClient.GetItemOf <Newsletter>(query.Id);

            return(result);
        }