principalement du format de code
This commit is contained in:
parent
222a0f96d1
commit
ff1444d664
87 changed files with 510 additions and 550 deletions
|
|
@ -32,4 +32,4 @@ namespace Yavsc.AuthorizationHandlers
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Yavsc.AuthorizationHandlers
|
|||
{
|
||||
public class SendMessageHandler : AuthorizationHandler<PrivateChatEntryRequirement, string>
|
||||
{
|
||||
ApplicationDbContext _dbContext ;
|
||||
readonly ApplicationDbContext _dbContext ;
|
||||
|
||||
public SendMessageHandler(ApplicationDbContext dbContext)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@ using Yavsc.ViewModels.Auth;
|
|||
namespace Yavsc.AuthorizationHandlers {
|
||||
|
||||
public class ViewFileHandler : AuthorizationHandler<ViewRequirement, ViewFileContext> {
|
||||
|
||||
IFileSystemAuthManager _authManager;
|
||||
readonly IFileSystemAuthManager _authManager;
|
||||
|
||||
public ViewFileHandler (IFileSystemAuthManager authManager) {
|
||||
_authManager = authManager;
|
||||
|
|
@ -28,4 +27,4 @@ namespace Yavsc.AuthorizationHandlers {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue