public static bool Delete(Int32 trackingNumberId) { TrackingNumber trackingNumber = new TrackingNumber(); if (trackingNumber.Load(trackingNumberId)) { return(trackingNumber.Delete()); } return(false); }
public static bool Delete(TrackingNumber trackingNumber) { return(trackingNumber.Delete()); }