public async Task <TalkVm> UpdateTalkAsync(TalkVm talk) { var result = await _talkService.UpdateTalkAsync(talk).ConfigureAwait(false); _cache.Remove(nameof(GetAllTalksAsync)); return(result); }
public Task <TalkVm> UpdateTalk([FromBody] TalkVm talk) => _talkService.UpdateTalkAsync(talk);