in order to use EF7 commands
This commit is contained in:
parent
2a92ad0cac
commit
4b6958e8e9
474 changed files with 316 additions and 181 deletions
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
|
||||
namespace Yavsc.Models.Access
|
||||
{
|
||||
public abstract class Rule<TResource,TRequirement>
|
||||
{
|
||||
public Rule()
|
||||
{
|
||||
|
||||
}
|
||||
// Abstract method to compute any authorization on a resource
|
||||
public abstract bool Allow(ApplicationDbContext context, string userId, TResource resource, TRequirement requirement);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue