infra du badge paramêtre manquant
This commit is contained in:
parent
cc59db24b0
commit
042b26c2e6
15 changed files with 104 additions and 26 deletions
|
|
@ -18,8 +18,10 @@ namespace Yavsc
|
|||
{
|
||||
private Client GetApplication(string clientId)
|
||||
{
|
||||
var dbContext = new ApplicationDbContext();
|
||||
var app = dbContext.Applications.FirstOrDefault(x => x.Id == clientId);
|
||||
Client app=null;
|
||||
using (var dbContext = new ApplicationDbContext()) {
|
||||
app = dbContext.Applications.FirstOrDefault(x => x.Id == clientId);
|
||||
}
|
||||
return app;
|
||||
}
|
||||
private readonly ConcurrentDictionary<string, string> _authenticationCodes = new ConcurrentDictionary<string, string>(StringComparer.Ordinal);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue