public async Task <IHttpActionResult> AddCountryAsync(Country countryToAdd) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } await _context.AddCountryAsync(countryToAdd); return(Ok()); }