Пример #1
0
        public async Task <ActionResult <County> > AddCounty(County county)
        {
            await _countyRepository.Create(county);

            return(CreatedAtAction("Get", new { id = county.Id }, county));
        }