private static AccountReservationSeatTransferLogViewModelItem RecivedTicketString(SeatTransferLog LogEntry) { AccountReservationSeatTransferLogViewModelItem item = new AccountReservationSeatTransferLogViewModelItem(); item.Date = LogEntry.TransferDate; item.Text = $"Du hast Platz #{LogEntry.SeatID} von {LogEntry.SourceUser.FirstName} {LogEntry.SourceUser.LastName} erhalten."; return(item); }
private static AccountReservationSeatTransferLogViewModelItem SendTicketString(SeatTransferLog LogEntry) { AccountReservationSeatTransferLogViewModelItem item = new AccountReservationSeatTransferLogViewModelItem(); item.Date = LogEntry.TransferDate; item.Text = $"Du hast Platz #{LogEntry.SeatID} an {LogEntry.DestinationUser.FirstName} {LogEntry.DestinationUser.LastName} transferiert."; return(item); }