public Contract(ContractStatus status, string titel, int doorlooptijd, ContractType contractType) { this.ContractStatus = status; this.ContractTitel = titel; this.StartDatum = DateTime.Today; this.EindDatum = StartDatum.AddYears(doorlooptijd); this.Doorlooptijd = doorlooptijd; this.ContractType = contractType; this.Tickets = new List <Ticket>(); }
public Contract() { EindDatum = StartDatum.AddYears(Doorlooptijd); Tickets = new List <Ticket>(); }