Example #1
0
 public ManageUsers(
     UserManager <ApplicationUser> userManager,
     SystemPermissionManager permissionManager,
     UserContext userContext)
 {
     this.userManager       = userManager;
     this.permissionManager = permissionManager;
     this.userContext       = userContext;
 }
Example #2
0
 public MyLeave(
     SystemPermissionManager permissionManager,
     UserContext userContext,
     CoreDbContext dbContext)
 {
     this.permissionManager = permissionManager;
     this.userContext       = userContext;
     this.dbContext         = dbContext;
 }
Example #3
0
 public MyMenu(UserContext userContext,
               FormRegister formRegister,
               MenuRegister menuRegister,
               SystemPermissionManager permissionManager)
 {
     this.userContext       = userContext;
     this.formRegister      = formRegister;
     this.menuRegister      = menuRegister;
     this.permissionManager = permissionManager;
 }
Example #4
0
 public Activities(
     SystemPermissionManager permissionManager,
     UserContext userContext,
     CoreDbContext dbContext,
     ActivityPermissionManager activityPermissionManager)
 {
     this.permissionManager         = permissionManager;
     this.userContext               = userContext;
     this.dbContext                 = dbContext;
     this.activityPermissionManager = activityPermissionManager;
 }
Example #5
0
 public MyForms(
     DependencyInjectionContainer container,
     UserContext userContext,
     FormRegister formRegister,
     MenuRegister menuRegister,
     SystemPermissionManager permissionManager)
 {
     this.container         = container;
     this.userContext       = userContext;
     this.formRegister      = formRegister;
     this.menuRegister      = menuRegister;
     this.permissionManager = permissionManager;
 }
Example #6
0
 public SecurityGuard(
     IRequestHandler <TRequest, TResponse> innerCommand,
     RequestHandlerGuardRegister requestHandlerGuardRegister,
     DependencyInjectionContainer dependencyInjectionContainer,
     UserContext userContext,
     SystemPermissionManager permissionManager)
 {
     this.InnerCommand = innerCommand;
     this.requestHandlerGuardRegister  = requestHandlerGuardRegister;
     this.dependencyInjectionContainer = dependencyInjectionContainer;
     this.userContext       = userContext;
     this.permissionManager = permissionManager;
 }