public void Insert(int DestCountryId, string DestFinal, int?CompanyGroup)
        {
            PricerDestFinal item = new PricerDestFinal();

            item.DestCountryId = DestCountryId;

            item.DestFinal = DestFinal;

            item.CompanyGroup = CompanyGroup;


            item.Save(UserName);
        }
        public void Update(int DestFinalId, int DestCountryId, string DestFinal, int?CompanyGroup)
        {
            PricerDestFinal item = new PricerDestFinal();

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

            item.DestFinalId = DestFinalId;

            item.DestCountryId = DestCountryId;

            item.DestFinal = DestFinal;

            item.CompanyGroup = CompanyGroup;

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