public async Task <IActionResult> Edit([FromForm] Address address) { try { await _context.EditAddressAsync(address); return(Ok()); } catch (Exception ex) { return(BadRequest(ex)); } }
public async Task <IActionResult> Edit([FromForm] Address address) { try { await _context.EditAddressAsync(address); return(Ok()); } catch (Exception ex) { return(BadRequest(ex)); } }