Пример #1
0
        public void Update(int ShipperID, string CompanyName, string Phone)
        {
            Shipper item = new Shipper();

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

            item.ShipperID = ShipperID;

            item.CompanyName = CompanyName;

            item.Phone = Phone;

            item.Save(UserName);
        }
Пример #2
0
 public bool Destroy(object ShipperID)
 {
     return(Shipper.Destroy(ShipperID) == 1);
 }
Пример #3
0
 public bool Delete(object ShipperID)
 {
     return(Shipper.Delete(ShipperID) == 1);
 }