diff options
author | 杨宇千 <crupest@outlook.com> | 2019-03-04 19:57:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-04 19:57:56 +0800 |
commit | 8033d6523885486c24af2bdd57a24b0fd62d0b00 (patch) | |
tree | 942326b2d9a0c71a5c141b633e90b5f77d2887cd /Timeline/Entities/User.cs | |
parent | e64ace0173d5bb737bf7320c8779fbcce0251aae (diff) | |
parent | 0ae0459be4f9eade994acbca65a60070672854fb (diff) | |
download | timeline-8033d6523885486c24af2bdd57a24b0fd62d0b00.tar.gz timeline-8033d6523885486c24af2bdd57a24b0fd62d0b00.tar.bz2 timeline-8033d6523885486c24af2bdd57a24b0fd62d0b00.zip |
Merge pull request #2 from crupest/migrate-todo
Migrate todo page from Azure DevOps WorkItems to Github Issues.
Diffstat (limited to 'Timeline/Entities/User.cs')
-rw-r--r-- | Timeline/Entities/User.cs | 9 |
1 files changed, 2 insertions, 7 deletions
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 }; } } |