public IActionResult Index() { try { var addresses = _context.FindAllAddresses(); return(Ok(addresses)); } catch (Exception ex) { return(BadRequest(ex)); } }
public IActionResult Index() { try { var addresses = _context.FindAllAddresses(); return(Ok(addresses)); } catch (Exception ex) { return(BadRequest(ex)); } }