/// <summary> /// The static Remove method interacts with the DataLayer in order to /// remove a object corresponding to the received ID key. It first however, /// will set the availability on the DVDCopy objects back to true; allowing /// for the copy to be re-rented/or purchased. /// </summary> /// <param name="id">The ID key corresponding to the object that you want removed</param> public static Boolean Remove(int id) { TransactionItem.UpdateCopyStatus(id, DVDCopy.Status.AVAILABLE); TransactionItem.Clear(id); return(DataTransaction.Remove(id)); }