public async Task <IActionResult> Delete(int id) { try { await _context.DeleteAddressAsync(id); return(Ok()); } catch (Exception ex) { return(BadRequest(ex)); } }
public async Task <IActionResult> Delete(int id) { try { await _context.DeleteAddressAsync(id); return(Ok()); } catch (Exception ex) { return(BadRequest(ex)); } }