Example #1
0
 public AccesslevelApplication(IAccesslevelRepository accessLevelRepository, ILogger logger, IAccesslevelRolesApplication accessLevelRolesApplication, IRoleApplication roleApplication)
 {
     _AccessLevelRepository = accessLevelRepository;
     _Logger = logger;
     _AccessLevelRolesApplication = accessLevelRolesApplication;
     _RoleApplication             = roleApplication;
 }
Example #2
0
 public UserApplication(IAuthHelper authHelper, IEmailService emailService, IPasswordHasher passwordHasher, IUserRepository userRepository, IRoleApplication roleApplication, IUserRoleApplication userRoleApplication)
 {
     _authHelper          = authHelper;
     _emailService        = emailService;
     _passwordHasher      = passwordHasher;
     _userRepository      = userRepository;
     _roleApplication     = roleApplication;
     _userRoleApplication = userRoleApplication;
 }
 public IndexModel(IAccountApplication accountApplication, IRoleApplication roleApplication)
 {
     _accountApplication = accountApplication;
     _roleApplication    = roleApplication;
 }
Example #4
0
 public IndexModel(IRoleApplication roleApplication, IPermissionApplication permissionApplication)
 {
     _roleApplication       = roleApplication;
     _permissionApplication = permissionApplication;
     Permissions            = new SelectList(_permissionApplication.GetAllForAdmin(), "Id", "Name");
 }
Example #5
0
 public IndexModel(IUserApplication userApplication, IRoleApplication roleApplication)
 {
     _userApplication = userApplication;
     _roleApplication = roleApplication;
     Roles            = new SelectList(_roleApplication.GetAllForAdmin(), "Id", "Name");
 }
Example #6
0
 public Compo_ListGridRolesModel(IRoleApplication roleApplication)
 {
     _RoleApplication = roleApplication;
 }
Example #7
0
 public IndexModel(IRoleApplication roleApplication)
 {
     _roleApplication = roleApplication;
 }
 public EditModel(IRoleApplication roleApplication, IEnumerable <IPermissionExposition> exposition)
 {
     _roleApplication = roleApplication;
     _exposition      = exposition;
 }
        /// <summary>
        /// AccountController initializes class object .
        /// </summary>
        /// <param name="userApplication"></param>
        /// <param name="dealerApplication"></param>
        /// <param name="dealershipApplication"></param>
        /// <param name="employeeApplication"></param>
        /// <param name="roleApplication"></param>
        /// <param name="emailServiceConnector"></param>
        /// <param name="headerValue"></param>
        /// <param name="configuration"></param>
        /// <param name="logger"></param>
        public AccountController(IUserApplication userApplication, IEmailApplication emailApplication, IEmployeeApplication employeeApplication, IRoleApplication roleApplication, IClaimApplication claimApplication, IEmailServiceConnector emailServiceConnector, IHeaderValue headerValue, IConfiguration configuration, ILogger <AccountController> logger) : base(headerValue, configuration, logger)
        {
            this.UserApplication       = userApplication;
            this.EmployeeApplication   = employeeApplication;
            this.RoleApplication       = roleApplication;
            this.EmailServiceConnector = emailServiceConnector;

            this.EmailApplication = emailApplication;
            this.ClaimApplication = claimApplication;
        }
Example #10
0
 public EditModel(IRoleApplication roleApplication, IEnumerable <IPermissionExposer> exposers)
 {
     _roleApplication = roleApplication;
     _exposers        = exposers;
 }
Example #11
0
 public CreateModel(IRoleApplication roleApplication)
 {
     _roleApplication = roleApplication;
 }
Example #12
0
 public IndexModel(IAccountApplication accountApplication, IFileUploader fileUploader, IRoleApplication roleApplication)
 {
     _accountApplication = accountApplication;
     _roleApplication    = roleApplication;
     _fileUploader       = fileUploader;
 }
Example #13
0
 public EditModel(IRoleApplication roleApplication, IEnumerable <IPermissionExposer> permissionExposer)
 {
     _roleApplication   = roleApplication;
     _permissionExposer = permissionExposer;
 }
 public JwtBuilder(IUserApplication userApplication, IRoleApplication roleApplication)
 {
     _userApplication = userApplication;
     _roleApplication = roleApplication;
 }
Example #15
0
 public JWTBuilder(IUserApplication userApplication, IRoleApplication roleApplication)
 {
     _UserApplication = userApplication;
     _RoleApplication = roleApplication;
 }
Example #16
0
 public RolesController(IRequestInfoService info, IRoleApplication roleApp)
     : base(info)
     => this.roleApp = roleApp;
 public EditModel(IRoleApplication roleApplication)
 {
     _roleApplication = roleApplication;
 }
Example #18
0
 /// <summary>
 /// RoleController initializes class object.
 /// </summary>
 /// <param name="roleApplication"></param>
 /// <param name="headerValue"></param>
 /// <param name="configuration"></param>
 /// <param name="logger"></param>
 public RoleController(IRoleApplication roleApplication, IHeaderValue headerValue, IConfiguration configuration, ILogger <RoleController> logger) : base(headerValue, configuration, logger)
 {
     this.RoleApplication = roleApplication;
 }