/// <summary> /// Method to save (add/edit) country object /// </summary> /// <param name="country"></param> /// <returns></returns> public bool SaveCountry(ADMCountry country) { try { country.ModifiedDate = System.DateTime.Now; if (country.CountryID == 0) { return(_CountryDAOLinq.Add(country)); } else { return(_CountryDAOLinq.Edit(country, true)); } } catch (Exception ex) { return(false); } }