get a description

This commit is contained in:
2016-09-05 00:25:29 +02:00
parent 3a9693bfa7
commit 81925e3787

View File

@ -30,5 +30,8 @@ namespace Yavsc.Models.Booking
Location = eventLocation; Location = eventLocation;
EventDate = eventDate; EventDate = eventDate;
} }
public string GetDescription() {
return $"{Location?.Address} {EventDate.ToString()}";
}
} }
} }