Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 762bf55

Browse files
committed
clean up
1 parent cffef5c commit 762bf55

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎BusinessLogicLayer/Services/TokenService.cs‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ public static List<TokenModel> Get()
2424

2525
public static string GetLoginByToken(string token)
2626
{
27-
28-
//var config = new MapperConfiguration(c =>
29-
//{
30-
// c.CreateMap<Login, LoginModel>();
31-
// c.CreateMap<Token, TokenModel>();
32-
//});
33-
//var mapper = new Mapper(config);
34-
//var isFind = mapper.Map<Login, LoginModel>(DataAccessFactory.TokenDataAccessForFilter().GetLoginByToken(token));
35-
//return isFind.Role;
36-
3727
var result = DataAccessFactory.TokenDataAccessForFilter().GetLoginByToken(token);
3828
return result.Role;
3929
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /