Esempio n. 1
0
        public string AddCity(City city)
        {
            City aCity = gateway.IsExistCity(city);

            if (aCity == null)
            {
                gateway.AddCity(city);
                return("City added successfully.");
            }

            else if (aCity != null)
            {
                return("Exist City.");
            }
            else
            {
                return("No data has been Added.");
            }
        }