Пример #1
0
 public UserController(IUserManagementService userManagementService, IUserSearchService userSearchService, IRoleService roleService, IPasswordManagementService passwordManagementService, IGetUserCultureOptions getUserCultureOptions, IGetUserEditTabsService getUserEditTabsService)
 {
     _userManagementService     = userManagementService;
     _userSearchService         = userSearchService;
     _roleService               = roleService;
     _passwordManagementService = passwordManagementService;
     _getUserCultureOptions     = getUserCultureOptions;
     _getUserEditTabsService    = getUserEditTabsService;
 }
Пример #2
0
 public UserController(IUserService userService, IUserSearchService userSearchService, IRoleService roleService, IPasswordManagementService passwordManagementService, IGetUserCultureOptions getUserCultureOptions, IGetUserEditTabsService getUserEditTabsService)
 {
     _userService = userService;
     _userSearchService = userSearchService;
     _roleService = roleService;
     _passwordManagementService = passwordManagementService;
     _getUserCultureOptions = getUserCultureOptions;
     _getUserEditTabsService = getUserEditTabsService;
 }
Пример #3
0
 public UserControllerTests()
 {
     _userSearchService         = A.Fake <IUserSearchService>();
     _userService               = A.Fake <IUserManagementService>();
     _roleService               = A.Fake <IRoleService>();
     _passwordManagementService = A.Fake <IPasswordManagementService>();
     _getUserCultureOptions     = A.Fake <IGetUserCultureOptions>();
     _getUserEditTabsService    = A.Fake <IGetUserEditTabsService>();
     _userController            = new UserController(_userService, _userSearchService, _roleService,
                                                     _passwordManagementService, _getUserCultureOptions, _getUserEditTabsService);
 }
Пример #4
0
 public UserControllerTests()
 {
     _userSearchService = A.Fake<IUserSearchService>();
     _userService = A.Fake<IUserService>();
     _roleService = A.Fake<IRoleService>();
     _passwordManagementService = A.Fake<IPasswordManagementService>();
     _getUserCultureOptions = A.Fake<IGetUserCultureOptions>();
     _getUserEditTabsService = A.Fake<IGetUserEditTabsService>();
     _userController = new UserController(_userService, _userSearchService, _roleService,
         _passwordManagementService, _getUserCultureOptions, _getUserEditTabsService);
 }