public async Task <IActionResult> Delete(int id) { return(await DeleteAsync( async() => await _addressService.AddressExistsAsync(id), async() => await _addressService.DeleteAsync(id))); }
public async Task <IActionResult> Delete(int id) { return(await DeleteAsync( async() => await _addressService.AddressExistsAsync(id), async() => await _addressService.DeleteAsync(id))); }