Example #1
0
 private static void AddCountry(string isoCode, string name)
 {
     Models.Core.Country country = new Models.Core.Country();
     country.IsoCode = isoCode;
     country.Name    = name;
     Crud.Put(country);
 }
Example #2
0
        public CountryForm(FHFormTab caller, Models.Core.Country country)
        {
            InitializeComponent();

            _caller    = caller;
            dataObject = country;

            if (dataObject == null)
            {
                dataObject = new Models.Core.Country();
            }

            LoadData();
        }