public async Task <IActionResult> Edit(int id) { try { var address = await _context.FindAddressAsync(id); return(Ok(address)); } catch (Exception ex) { return(BadRequest(ex)); } }
public async Task <IActionResult> Edit(int id) { try { var address = await _context.FindAddressAsync(id); return(Ok(address)); } catch (Exception ex) { return(BadRequest(ex)); } }