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); }
public bool Destroy(object ShipperID) { return(Shipper.Destroy(ShipperID) == 1); }
public bool Delete(object ShipperID) { return(Shipper.Delete(ShipperID) == 1); }