public IActionResult Get(int id) { var region = _settlementService.Get(id); if (region == null) { return(NotFound()); } return(Ok(region)); }