public PhobosInitializationAttribute(IUserManagementService userMngSvc, INavigationService navSvc, INotificationService notificationService, IMessageService msgService) { this.userManagementService = userMngSvc; this.navigationService = navSvc; this.notificationService = notificationService; this.msgService = msgService; }
public UserModify(IUserManagementService userservice, IDepartmentManagementService deparservice, ICompanyManagementService companyservice, ISysUserManagementService sysUserManagementService) { _userService = userservice; _deparService = deparservice; _companyService = companyservice; _sysUserManagementService = sysUserManagementService; }
public UserAdd(IUserManagementService userservice, IDepartmentManagementService deparservice, ICompanyManagementService companyservice, ISysUserManagementService SysUserManagementService) { _userService = userservice; _deparService = deparservice; _companyService = companyservice; _SysUserManagementService = SysUserManagementService; }
public GroupManagementService(IGroupRepository groupRepository, IUserManagementService userManagementService) { Check.Require(groupRepository != null, "groupRepository may not be null"); Check.Require(userManagementService != null, "userManagementService may not be null"); this.groupRepository = groupRepository; this.userManagementService = userManagementService; }
public AddressBookDetails(IAddressBookManagementService addressservice, IDepartmentManagementService departmentservice, ICountryCodeManagementService countryservice, IRegionCodeManagementService regionservice, IUserManagementService userService, ISysUserManagementService sysUserManagementService) { _countryservice = countryservice; _regionservice = regionservice; _departmentservice = departmentservice; _userService = userService; _AddressBookService = addressservice; _sysUserManagementService = sysUserManagementService; }
public MessageController( IMessageService messageService, IUserManagementService userManagementService, IAuditTrailService auditTrailService) { this.userManagementService = userManagementService; this.messageService = messageService; this.auditTrailService = auditTrailService; }
public CommentsController(ICommentsService comments, IVideoCatalogService videoCatalog, IUserManagementService userManagement) { if (comments == null) throw new ArgumentNullException("comments"); if (videoCatalog == null) throw new ArgumentNullException("videoCatalog"); if (userManagement == null) throw new ArgumentNullException("userManagement"); _comments = comments; _videoCatalog = videoCatalog; _userManagement = userManagement; }
public SearchController(ISearchVideos searchService, IUserManagementService userManagement, IStatisticsService stats) { if (searchService == null) throw new ArgumentNullException("searchService"); if (userManagement == null) throw new ArgumentNullException("userManagement"); if (stats == null) throw new ArgumentNullException("stats"); _searchService = searchService; _userManagement = userManagement; _stats = stats; }
public AddressBookAdd(ICompanyManagementService companyservice, ICountryCodeManagementService countryservice, IRegionCodeManagementService regionservice, IDepartmentManagementService departmentservice, IAddressBookManagementService addressbookservice, IUserManagementService userservice, ISysUserManagementService sysUserManagementService) { _departmentservice = departmentservice; _addressbookservice = addressbookservice; _countryservice = countryservice; _regionservice = regionservice; _userService = userservice; _companyService = companyservice; _sysUserManagementService = sysUserManagementService; }
public VideosController(IVideoCatalogService videoCatalog, IUserManagementService userManagement, IStatisticsService stats, IRatingsService ratings, ISuggestVideos suggestions) { if (videoCatalog == null) throw new ArgumentNullException("videoCatalog"); if (userManagement == null) throw new ArgumentNullException("userManagement"); if (stats == null) throw new ArgumentNullException("stats"); if (ratings == null) throw new ArgumentNullException("ratings"); if (suggestions == null) throw new ArgumentNullException("suggestions"); _videoCatalog = videoCatalog; _userManagement = userManagement; _stats = stats; _ratings = ratings; _suggestions = suggestions; }
public AccountController(IUserManagementService userManagement) { if (userManagement == null) throw new ArgumentNullException("userManagement"); _userManagement = userManagement; }
public AccountController() { userManagementService = new UserManagementService(); }
public UserDetails(IDepartmentManagementService deparService, IUserManagementService userService, ISysUserManagementService SysUserManagementService) { _deparService = deparService; _userService = userService; _SysUserManagementService = SysUserManagementService; }
public UserCommentController(IAccessTokenService <UserAccessTokenPayload> accessTokenService, IUserManagementService userManagementService, IPostsManagementService postsManagementService) : base(accessTokenService, userManagementService) { _postsManagementService = postsManagementService; }
public UsersController(IUserManagementService userManagementService) { _userManagementService = userManagementService; }
public UsersController(IUserManagementService userManagementService) { Check.Require(userManagementService != null, "userRepository may not be null"); this.userManagementService = userManagementService; }
/// <summary> /// /// </summary> /// <param name="procedurecodeService"></param> /// <param name="userManagementService"></param> /// <param name="configurationService"></param> public CommonController(ICommonService procedurecodeService, IUserManagementService userManagementService, IConfigurationService configurationService) { _procedureCodeService = procedurecodeService; _userManagementService = userManagementService; _configurationService = configurationService; }
public TokenAuthenticationService(IUserManagementService service, IOptions <TokenManagement> tokenManagement, IUnitOfWork uow) { _userManagementService = service; _tokenManagement = tokenManagement.Value; _uow = uow; }
protected SiteControllerBase() { UserManager = DependencyResolver.Current.GetService <IUserManagementService>(); }
public UsersController( RocketUserManager rocketUserManagerService, RockeRoleManager rolemanager, IUserManagementService userNativeManagementService, IGeneratorConfirmationLink generatorConfirmationLink) { _rocketUserManagerService = rocketUserManagerService; _rolemanager = rolemanager; _userManagementService = userNativeManagementService; _generatorConfirmationLink = generatorConfirmationLink; }
public UserManagementController(IContentRepository contentRepository, IUserManagementService usersManagementService, IOrganizationUserRepository orgUserRepo) { _usersManagementService = usersManagementService; _orgUserRepo = orgUserRepo; }
// injects the services into the controller public SensorStickController(ApplicationContext applicationContext, IUserManagementService userManagementService) { _applicationContext = applicationContext; _userManagementService = userManagementService; }
public UserInvitesController(IUserManagementService userManagementService, IReleaseInviteService releaseInviteService) { _userManagementService = userManagementService; _releaseInviteService = releaseInviteService; }
public UsersController(IUserManagementService userManagementService) : base(userManagementService) { }
public AuthController(IJwtService service, IUserManagementService userManagementService) { _service = service; _userManagementService = userManagementService; }
public PasswordEncryptionManager(IHashAlgorithmProvider hashAlgorithmProvider, IUserManagementService userManagementService) { _hashAlgorithmProvider = hashAlgorithmProvider; _userManagementService = userManagementService; }
public UserManagementController(IUserManagementService userService, ILogManagementService logService) { this.userService = userService; this.logService = logService; }
public NotificationContoller(IMobileMessagingClient mobileMessagingClient, IDatabaseEngine databaseEngine, IUserManagementService userEngine, INotificationService notificationEngine) { _mobileMessagingClient = mobileMessagingClient; _databaseEngine = databaseEngine; _notificationService = notificationEngine; _userService = userEngine; }
public InternalSearchController(ICustomerSupportRepository customerSupportRepo, IContentRepository contentRepo, IUserManagementService userManagementService) { _customerSupportRepo = customerSupportRepo; _contentRepo = contentRepo; _userManagementService = userManagementService; }
public CommentsController(ICommentsService comments, IVideoCatalogService videoCatalog, IUserManagementService userManagement) { if (comments == null) { throw new ArgumentNullException("comments"); } if (videoCatalog == null) { throw new ArgumentNullException("videoCatalog"); } if (userManagement == null) { throw new ArgumentNullException("userManagement"); } _comments = comments; _videoCatalog = videoCatalog; _userManagement = userManagement; }
public SearchTransportController(ISearchTransportRepository searchTransportRepository, IUserManagementService usersManagementService) { _searchTransportRepository = searchTransportRepository; _usersManagementService = usersManagementService; }
static void Main(string[] args) { IKernel kernel = FactoryDependency.GetKernel(); IUserManagementService userservice = kernel.Get <IUserManagementService>(); IProjectManagementService projectservice = kernel.Get <IProjectManagementService>(); UserManagementServiceClient clientUser = null; ProjectManagementServiceClient clientProject = null; try { clientUser = new UserManagementServiceClient("BasicHttpBinding_IUserManagementService"); clientProject = new ProjectManagementServiceClient("BasicHttpBinding_IProjectManagementService"); UserWorkflow workflow = new UserWorkflow(clientUser); ProjectWorkflow projectWorkflow = new ProjectWorkflow(clientProject); bool exit = false; do { System.Console.Clear(); System.Console.WriteLine("[1] Create user"); System.Console.WriteLine("[2] Read user"); System.Console.WriteLine("[3] Update user"); System.Console.WriteLine("[4] Delete user"); System.Console.WriteLine("[5] Create project"); System.Console.WriteLine("[6] Get All projects"); System.Console.WriteLine("[0] Exit"); System.Console.Write("What do you want to do?:"); string opt = System.Console.ReadLine(); switch (opt) { case "0": exit = true; break; case "1": //client.Open(); workflow.CreateUser(); //client.Close(); break; case "2": //client.Open(); workflow.ReadUser(); //client.Close(); break; case "3": //client.Open(); workflow.UpdateUser(); //client.Close(); break; case "4": //client.Open(); workflow.Delete(); //client.Close(); break; case "5": projectWorkflow.Create(); break; case "6": projectWorkflow.GetAll(); break; } System.Console.Write("Continue..."); System.Console.ReadKey(); } while (!exit); } finally { if (clientUser != null && clientUser.State == CommunicationState.Opened) { clientUser.Close(); } if (clientProject != null && clientProject.State == CommunicationState.Opened) { clientProject.Close(); } } }
public UserManagementAPIController() { UserManagementServiceFactory umsFactory = new UserManagementServiceFactory(); _userManagementService = umsFactory.GetUserManagementService(); }
public Handler(IUserSearchService userSearchService, IUserManagementService userManagementService, ILogger <Handler> logger) { _userSearchService = userSearchService ?? throw new ArgumentNullException(nameof(userSearchService)); _userManagementService = userManagementService ?? throw new ArgumentNullException(nameof(userManagementService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
/// <summary> /// Initializes a new instance of the <see cref="TokenAuthenticationService"/> class. /// </summary> /// <param name="service"> /// The service. /// </param> /// <param name="tokenManagement"> /// The token management. /// </param> public TokenAuthenticationService(IUserManagementService service, IOptions <TokenManagement> tokenManagement) { this.userManagementService = service; this.tokenManagement = tokenManagement.Value; }
public AccountController(IUserManagementService usrMngSvc, IAuthenticationService authSvc,IAuditTrailService auditTrailService) { this.userManagementService = usrMngSvc; this.AuthenticationService = authSvc; this.auditTrailService = auditTrailService; }
public NewsService(IContentRepository contentRepository, IUserManagementService userManagementService, IOrganizationUserRepository organizationRepo) { _contentRepository = contentRepository; _userManagementService = userManagementService; _organizationRepo = organizationRepo; }
public UserController(IUserManagementService userManagement) { this.userManagement = userManagement; }
public UsersController(IUnitOfWork unitOfWork, IUserRepositoryService userRepositoryService, ITokenProvider tokenProvider, IUserManagementService userManagementService, IRentBookRepositoryService rentBookRepositoryService) { this.unitOfWork = unitOfWork; this.userRepositoryService = userRepositoryService; this.tokenProvider = tokenProvider; this.userManagementService = userManagementService; this.rentBookRepositoryService = rentBookRepositoryService; }
public HomeController(IUserManagementService userService) { _userService = userService; }
// Used Dependency Injection here to intiate UserManagementService // I have used Unity and check UnityConfig public UserManagementController(IUserManagementService _userManagementService) { userManagementService = _userManagementService; }
public PublicRegistrationController(ISha512Service sha512Service, IUserManagementService userManagementService) { _sha512Service = sha512Service; _userManagementService = userManagementService; }
public void Initialize() { var kernel = MvcApplication.GetKernel(); bool isLocal = bool.Parse(ConfigurationManager.AppSettings["UseDatabaseToTest"]); ; if (!isLocal) { kernel.Rebind<IUserManagementRepo>().To<MockedUserManagementRepo>(); kernel.Rebind<INotificationRepo>().To<MockedUserManagementRepo>(); kernel.Rebind<IMessageRepo>().To<MockedUserManagementRepo>(); kernel.Rebind<ICoreRepo>().To<MockedUserManagementRepo>(); } usrMngSvc = kernel.Get<IUserManagementService>(); msgSvc = kernel.Get<IMessageService>(); notificatioSvc = kernel.Get<INotificationService>(); navigationService = kernel.Get<INavigationService>(); var coreRepo = kernel.Get<ICoreRepo>(); coreRepo.AddConfiguration("PasswordSalt", "Phobos"); }
/// <summary> /// /// </summary> /// <param name="reportService"></param> public ReportController(IReportService reportService, IReportPrintService reportPrintService, IRegistrationService registrationService, IConfigurationService configurationService, IUserManagementService userManagementService, ICommonService commonService, IReportLockService reportLockService, IReportTemplateService reportTemplateService ) { _ReportService = reportService; _ReportPrintService = reportPrintService; _ReportLockService = reportLockService; _ReportTemplateService = reportTemplateService; _RegistrationService = registrationService; _ConfigurationService = configurationService; _userManagementService = userManagementService; _CommonService = commonService; }
public UserController(IUserManagementService userManagementService) { UserManagementService = userManagementService; }
public SecurityService(IUserManagementService userManagementService) { _userManagementService = userManagementService; }
public AccountController(IUserManagementService userLogic) { _userManagementService = userLogic; }
protected SiteControllerBase(IUserManagementService userManager) { UserManager = userManager; }