From cb58648843160a672ba9427b0abfb2dd87c86206 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 4 Mar 2019 19:45:49 +0800 Subject: Migrate todo page from Azure DevOps WorkItems to Github Issues. --- Timeline/Entities/User.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'Timeline/Entities/User.cs') diff --git a/Timeline/Entities/User.cs b/Timeline/Entities/User.cs index 50463b57..c77e895d 100644 --- a/Timeline/Entities/User.cs +++ b/Timeline/Entities/User.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace Timeline.Entities { public class User @@ -16,8 +11,8 @@ namespace Timeline.Entities { return new UserInfo { - Username = this.Username, - Roles = this.Roles + Username = Username, + Roles = Roles }; } } -- cgit v1.2.3