Esempio n. 1
0
 public RoleController(ISystemRoleLogic roleLogic,
                       ISystemPermissionUserLogic permissionUserLogic, ISystemOrganizationLogic organizationLogic)
 {
     _roleLogic           = roleLogic;
     _permissionUserLogic = permissionUserLogic;
     _organizationLogic   = organizationLogic;
 }
Esempio n. 2
0
 public GroupController(ISystemGroupLogic groupLogic,
                        ISystemUserInfoLogic userInfoLogic, ISystemOrganizationLogic organizationLogic)
 {
     _groupLogic        = groupLogic;
     _userInfoLogic     = userInfoLogic;
     _organizationLogic = organizationLogic;
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="organizationLogic"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="permissionLogic"></param>
 public OrganizationController(ISystemOrganizationLogic organizationLogic,
                               IHttpContextAccessor httpContextAccessor,
                               ISystemPermissionLogic permissionLogic)
 {
     _currentUser       = httpContextAccessor.CurrentUser();
     _organizationLogic = organizationLogic;
     _permissionLogic   = permissionLogic;
 }
Esempio n. 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="groupLogic"></param>
 /// <param name="userInfoLogic"></param>
 /// <param name="organizationLogic"></param>
 /// <param name="httpContextAccessor"></param>
 public GroupController(ISystemGroupLogic groupLogic,
                        ISystemUserInfoLogic userInfoLogic, ISystemOrganizationLogic organizationLogic, IHttpContextAccessor httpContextAccessor)
 {
     _currentUser       = httpContextAccessor.CurrentUser();
     _groupLogic        = groupLogic;
     _userInfoLogic     = userInfoLogic;
     _organizationLogic = organizationLogic;
 }
Esempio n. 5
0
 public SystemUserInfoLogic(ISystemUserInfoRepository userInfoRepository,
                            ISystemPermissionUserLogic permissionUserLogic, IOptions <EIPConfig> configOptions, ISystemOrganizationLogic organizationLogic)
     : base(userInfoRepository)
 {
     _userInfoRepository  = userInfoRepository;
     _permissionUserLogic = permissionUserLogic;
     _configOptions       = configOptions;
     _organizationLogic   = organizationLogic;
 }
Esempio n. 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="roleLogic"></param>
 /// <param name="permissionUserLogic"></param>
 /// <param name="organizationLogic"></param>
 /// <param name="httpContextAccessor"></param>
 public RoleController(ISystemRoleLogic roleLogic,
                       ISystemPermissionUserLogic permissionUserLogic,
                       ISystemOrganizationLogic organizationLogic,
                       IHttpContextAccessor httpContextAccessor)
 {
     _currentUser         = httpContextAccessor.CurrentUser();
     _roleLogic           = roleLogic;
     _permissionUserLogic = permissionUserLogic;
     _organizationLogic   = organizationLogic;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="jwtConfig"></param>
 /// <param name="userInfoLogic"></param>
 /// <param name="organizationLogic"></param>
 /// <param name="accessor"></param>
 /// <param name="loginLogLogic"></param>
 public AccountController(IOptions <JwtConfiguration> jwtConfig,
                          ISystemUserInfoLogic userInfoLogic,
                          ISystemOrganizationLogic organizationLogic,
                          IHttpContextAccessor accessor,
                          ISystemLoginLogLogic loginLogLogic)
 {
     _jwtConfig         = jwtConfig;
     _userInfoLogic     = userInfoLogic;
     _organizationLogic = organizationLogic;
     _accessor          = accessor;
 }
Esempio n. 8
0
 public UserControlController(
     ISystemGroupLogic groupLogic,
     ISystemPostLogic postLogic,
     ISystemUserInfoLogic userInfoLogic,
     ISystemPermissionUserLogic permissionUserLogic,
     ISystemOrganizationLogic organizationLogic,
     ISystemMenuLogic menuLogic,
     ISystemDictionaryLogic dictionaryLogic)
 {
     _groupLogic          = groupLogic;
     _postLogic           = postLogic;
     _menuLogic           = menuLogic;
     _userInfoLogic       = userInfoLogic;
     _permissionUserLogic = permissionUserLogic;
     _organizationLogic   = organizationLogic;
     _dictionaryLogic     = dictionaryLogic;
 }
Esempio n. 9
0
 public SystemUserInfoLogic(IOptions <EIPConfig> configOptions, ISystemOrganizationLogic organizationLogic)
 {
     _configOptions      = configOptions;
     _organizationLogic  = organizationLogic;
     _userInfoRepository = new SystemUserInfoRepository();
 }
Esempio n. 10
0
 public PostController(ISystemPostLogic postLogic, ISystemOrganizationLogic organizationLogic)
 {
     _postLogic         = postLogic;
     _organizationLogic = organizationLogic;
 }
Esempio n. 11
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="postLogic"></param>
 /// <param name="httpContextAccessor"></param>
 /// <param name="organizationLogic"></param>
 public PostController(ISystemPostLogic postLogic, IHttpContextAccessor httpContextAccessor, ISystemOrganizationLogic organizationLogic)
 {
     _currentUser       = httpContextAccessor.CurrentUser();
     _postLogic         = postLogic;
     _organizationLogic = organizationLogic;
 }
Esempio n. 12
0
 public OrganizationController(ISystemOrganizationLogic organizationLogic)
 {
     _organizationLogic = organizationLogic;
 }