public void Insert(int CountryId, string Name, string Abbreviation)
        {
            StateOrRegion item = new StateOrRegion();

            item.CountryId = CountryId;

            item.Name = Name;

            item.Abbreviation = Abbreviation;


            item.Save(UserName);
        }
        public void Update(int StateOrRegionId, int CountryId, string Name, string Abbreviation)
        {
            StateOrRegion item = new StateOrRegion();

            item.StateOrRegionId = StateOrRegionId;

            item.CountryId = CountryId;

            item.Name = Name;

            item.Abbreviation = Abbreviation;

            item.MarkOld();
            item.Save(UserName);
        }
 public bool Destroy(object StateOrRegionId)
 {
     return(StateOrRegion.Destroy(StateOrRegionId) == 1);
 }
 public bool Delete(object StateOrRegionId)
 {
     return(StateOrRegion.Delete(StateOrRegionId) == 1);
 }