public void AddCountry([FromBody] CountryModel model) { if (ModelState.IsValid) { countriesRepository.AddCountry(model); } }