public ConsultController(ICompanyStatementService companyStatementService,
                          IUserSystemService userSystemService,
                          IMapper mapper)
 {
     _companyStatementService = companyStatementService;
     _userSystemService       = userSystemService;
     _mapper = mapper;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public UserService(
     IHttpService http_service,
     IUserSystemService user_system_service
     )
 {
     this.http_service        = http_service;
     this.user_system_service = user_system_service;
 }// End of Constructor function
Beispiel #3
0
 public SystemRoleController(IPermissionService permissionService, IRoleService roleService, IRolePermissionService rolePermissionService, IUserService userService, IUserRoleService userRoleService, IUserSystemService userSystemService)
 {
     _permissionService     = permissionService;
     _roleService           = roleService;
     _rolePermissionService = rolePermissionService;
     _userService           = userService;
     _userRoleService       = userRoleService;
     _userSystemService     = userSystemService;
 }
Beispiel #4
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="Repository"></param>
 /// <param name="mapper"></param>
 /// <param name="IUserRoleService"></param>
 /// <param name="IRoleService"></param>
 /// <param name="companyService"></param>
 public UserService(IRepository <User, Identity.Database.IdentityDataContext> Repository, IMapper mapper,
                    IUserRoleService IUserRoleService,
                    IRoleService IRoleService,
                    IServiceProvider IServiceProvider,
                    IUserSystemService IUserSystemService,
                    ISystemService ISystemService,
                    IRolePermissionService rolePermissionService,
                    IPermissionService permissionService) : base(Repository, mapper)
 {
     _IUserRoleService      = IUserRoleService;
     _IRoleService          = IRoleService;
     _IUserSystemService    = IUserSystemService;
     _ISystemService        = ISystemService;
     _IServiceProvider      = IServiceProvider;
     _rolePermissionService = rolePermissionService;
     _permissionService     = permissionService;
 }
 public UserSystemController(IUserSystemService userSystemService,
                             IMapper mapper)
 {
     _userSystemService = userSystemService;
     _mapper            = mapper;
 }
 public RegistrationService(IUserSystemService userSystemService)
 {
     _userSystemService = userSystemService;
 }
 public UserSystemController(DataContext context, IUserSystemService userSystemService)
 {
     _context           = context;
     _userSystemService = userSystemService;
 }
 public UserController(IUserSystemService userSystemService, ILoggerManager logger)
 {
     _userSystemService = userSystemService;
     _logger            = logger;
 }
 public SecurityController(IUserSystemService userSystemService)
 {
     _userSystemService = userSystemService;
 }