get a description

This commit is contained in:
Paul Schneider 2016-09-05 00:25:29 +02:00
commit 31af649240

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()}";
}
} }
} }