public NotificationCenter() { this.RequiresAuthentication(); Get("/notificationcenter", args => { var mod = new NotificationCenterModel(); var notifications = FUTLogsDatabase.GetFUTNotifications(); notifications.Reverse(); mod.Notifications = new List <Tuple <FUTNotification, string> >(); foreach (var futNotification in notifications) { mod.Notifications.Add(new Tuple <FUTNotification, string>(futNotification, $"{Fifa.Services.Helper.TimestampToDateTime(futNotification.Timestamp):d/M/yyyy HH:mm:ss}")); }