public Rent(MultimediaItem itemRented, DateTime dateOfRent, DateTime deadline) { this.ItemRented = itemRented; this.RentState = RentState.Taken; this.DateOfRent = dateOfRent; this.DeadLine = deadline; }
public Rent(MultimediaItem itemRented, DateTime dateOfRent) { this.ItemRented = itemRented; this.RentState = RentState.Taken; this.DateOfRent = dateOfRent; this.DeadLine = dateOfRent.AddDays(30); }
public Rent(MultimediaItem itemRented) { this.ItemRented = itemRented; this.RentState = RentState.Taken; this.DateOfRent = DateTime.Now; this.DeadLine = DateTime.Now.AddDays(30); }
public Sale(MultimediaItem itemSold, DateTime dateOfPurchase) { this.ItemSold = itemSold; this.DateOfPurchase = dateOfPurchase; }
public Sale(MultimediaItem itemSold) { this.ItemSold = itemSold; this.DateOfPurchase = DateTime.Now; }