public async Task <IActionResult> Get(int id) { if (id < 1) { return(NotFound()); } var region = await _regions.GetRegion(id); if (region == null) { return(NotFound()); } return(Ok(region)); }