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); }
public CountryForm(FHFormTab caller, Models.Core.Country country) { InitializeComponent(); _caller = caller; dataObject = country; if (dataObject == null) { dataObject = new Models.Core.Country(); } LoadData(); }