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