示例#1
0
        public string AddCountry(Country country)
        {
            Country aCountry = gateway.IsExistConCountry(country);

            if (aCountry == null)
            {
                gateway.AddCountry(country);
                return("Country added successfully.");
            }

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