We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cffef5c commit 762bf55Copy full SHA for 762bf55
BusinessLogicLayer/Services/TokenService.cs
@@ -24,16 +24,6 @@ public static List<TokenModel> Get()
24
25
public static string GetLoginByToken(string token)
26
{
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
37
var result = DataAccessFactory.TokenDataAccessForFilter().GetLoginByToken(token);
38
return result.Role;
39
}
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments