public RoleAuthorizeApp(IRoleAuthorizeRepository service, MenuButtonApp moduleButtonApp, MenuApp menuApp, IMemoryCache _memoryCache, RoleApp roleApp, IHttpContextAccessor contextAccessor)
 {
     this.service         = service;
     this.moduleButtonApp = moduleButtonApp;
     this.memoryCache     = _memoryCache;
     this.menuApp         = menuApp;
     this.roleApp         = roleApp;
     this.context         = contextAccessor.HttpContext;
 }
Example #2
0
 public RoleApp(IRoleRepository service, MenuApp menuApp, MenuButtonApp moduleButtonApp)
 {
     this.service         = service;
     this.menuApp         = menuApp;
     this.moduleButtonApp = moduleButtonApp;
 }