Example #1
0
        public async Task <TalkVm> UpdateTalkAsync(TalkVm talk)
        {
            var result = await _talkService.UpdateTalkAsync(talk).ConfigureAwait(false);

            _cache.Remove(nameof(GetAllTalksAsync));

            return(result);
        }
Example #2
0
 public Task <TalkVm> UpdateTalk([FromBody] TalkVm talk)
 => _talkService.UpdateTalkAsync(talk);