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