public PermissionFrontController() { siteRoleService = new SiteRoleService(); appService = new SiteAppService(); appService.menuService = new SiteMenuService(); logService = new SiteLogService(); }
public UserController() { userService = new UserService(); roleService = new SiteRoleService(); msgService = new MessageService(); logService = new SiteLogService(); confirmEmail = new ConfirmEmail(); errorPicService = new UserErrorPicService(); }
public UserService() { currencyService = new CurrencyService(); roleService = new SiteRoleService(); userIncomeService = new UserIncomeService(); ntService = new NotificationService(); hashTool = new HashTool(); }
public PermissionBackController() { SiteRoleService = new SiteRoleService(); appInfoService = new AppInstallerService(); appService = new SiteAppService(); appService.menuService = new SiteMenuService(); logService = new SiteLogService(); }
public static SecurityTool GetSecurityTool( ISecurity f, MvcContext ctx ) { IList forumRoles = ForumRole.GetAll(); IList ownerRoles; if (ctx.owner.obj.GetType() != typeof( Site )) ownerRoles = ctx.owner.obj.GetRoles(); else ownerRoles = new ArrayList(); IList siteRoles = new SiteRoleService().GetRoleAndRank(); IList allRoles = new RoleMerger() .Add( forumRoles ) .Add( ownerRoles ) .Add( siteRoles ) .GetResults(); SecurityTool tool = new SecurityTool( f, new SecurityAction(), allRoles ); return tool; }
public UserIncomeService() { currencyService = new CurrencyService(); roleService = new SiteRoleService(); }
public SiteMsgController() { msgService = new SiteMessageService(); roleService = new SiteRoleService(); }
public StatsJob() { blogService = new BlogService(); photoService = new PhotoService(); roleService = new SiteRoleService(); }
public CreditController() { incomeService = new UserIncomeService(); roleService = new SiteRoleService(); currencyService = new CurrencyService(); }
public SecurityController() { roleService = new SiteRoleService(); logService = new SiteLogService(); }