public async Task <ActionResult <City> > PostCity(City city) { await services.Add(city); return(CreatedAtAction("GetCity", new { id = city.Id }, city)); }
public async Task <ActionResult <City> > PostCity(City city) { await services.Add(city); return(CreatedAtAction("GetCity", new { id = city.Id }, city)); }