public async Task <IActionResult> DeleteCity(Guid id) { if (id == Guid.Empty) { return(BadRequest("Invalid City Id")); } var city = await CitiesRepository.GetCity(id); if (city == null) { return(NotFound("City not found")); } await CitiesRepository.DeleteCity(city); return(Ok()); }