refactoring

This commit is contained in:
Paul Schneider 2017-02-11 15:46:26 +01:00
commit 8e658d2bb4
21 changed files with 135 additions and 29 deletions

View file

@ -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)

View file

@ -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)