Пример #1
0
 public async Task <IActionResult> Delete(int id)
 {
     return(await DeleteAsync(
                async() => await _chatMessageService.ChatMessageExistsAsync(id),
                async() => await _chatMessageService.DeleteAsync(id)));
 }