refactoring
This commit is contained in:
parent
30a8ac75ec
commit
8e658d2bb4
21 changed files with 135 additions and 29 deletions
|
|
@ -3,7 +3,7 @@ using Microsoft.AspNet.Authorization;
|
|||
|
||||
namespace Yavsc.ViewModels.Auth.Handlers
|
||||
{
|
||||
using Models.Booking;
|
||||
using Models.Workflow;
|
||||
public class CommandEditHandler : AuthorizationHandler<EditRequirement, BookQuery>
|
||||
{
|
||||
protected override void Handle(AuthorizationContext context, EditRequirement requirement, BookQuery resource)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ using Microsoft.AspNet.Authorization;
|
|||
|
||||
namespace Yavsc.ViewModels.Auth.Handlers
|
||||
{
|
||||
using Models.Booking;
|
||||
using Models.Workflow;
|
||||
public class CommandViewHandler : AuthorizationHandler<ViewRequirement, BookQuery>
|
||||
{
|
||||
protected override void Handle(AuthorizationContext context, ViewRequirement requirement, BookQuery resource)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue