public void Insert(int OriginPointId, string CountryName, int CountryId)
        {
            PricerDestCountry item = new PricerDestCountry();

            item.OriginPointId = OriginPointId;

            item.CountryName = CountryName;

            item.CountryId = CountryId;


            item.Save(UserName);
        }
        public void Update(int DestCountryId, int OriginPointId, string CountryName, int CountryId)
        {
            PricerDestCountry item = new PricerDestCountry();

            item.MarkOld();
            item.IsLoaded = true;

            item.DestCountryId = DestCountryId;

            item.OriginPointId = OriginPointId;

            item.CountryName = CountryName;

            item.CountryId = CountryId;

            item.Save(UserName);
        }
 public bool Destroy(object DestCountryId)
 {
     return(PricerDestCountry.Destroy(DestCountryId) == 1);
 }