public void Insert(string CompanyName, string Phone) { Shipper item = new Shipper(); item.CompanyName = CompanyName; item.Phone = Phone; item.Save(UserName); }
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 void Insert(string CompanyName,string Phone) { Shipper item = new Shipper(); item.CompanyName = CompanyName; item.Phone = Phone; item.Save(UserName); }
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); }