public UserStatusController(IHttpContextAccessor httpContextAccessor, IUserStatusService userStatusService,
                             IHttpHelper httpHelper, IOptions <PagerOptions> pagerOptions)
     : base(httpContextAccessor)
 {
     _userStatusService = userStatusService;
     _httpHelper        = httpHelper;
     _pagerOptions      = pagerOptions.Value;
 }
示例#2
0
 public UserController(ILogger logger, IHierarchyFileService hierarchyFileService, IUserStatusService userStatusService, IConfiguration configuration, IUserService userService, INetworkService networkService, IShopService shopService) : base(configuration)
 {
     _logger = logger;
     _hierarchyFileService = hierarchyFileService;
     _userStatusService    = userStatusService;
     _userService          = userService;
     _networkService       = networkService;
     _shopService          = shopService;
 }
示例#3
0
 public PresenceService(IPresenceRepository repository, ApplicationDbContext application, IUserStatusRepository userRepo, IUserStatusService service, IAttendanceRepository attendance, IUserAttendanceService serviceAttendance)
 {
     _repository        = repository;
     _userRepo          = userRepo;
     _service           = service;
     _attendance        = attendance;
     _application       = application;
     _serviceAttendance = serviceAttendance;
 }
示例#4
0
 public AccountController(IUserService userService, IUserRoleService userRoleService, IUserStatusService userStatusService, IUserProfileService userProfileService, UserManager <User> userManager, SignInManager <User> signInManager, IWebHostEnvironment webHostEnvironment)
 {
     this.userService        = userService;
     this.userRoleService    = userRoleService;
     this.userStatusService  = userStatusService;
     this.userProfileService = userProfileService;
     this.userManager        = userManager;
     this.signInManager      = signInManager;
     this.webHostEnvironment = webHostEnvironment;
 }
示例#5
0
 public GameContentAppService(
     IUserStatusService userStatusService,
     IPageExternalRepository pageExternalRepository,
     IPageVmFactory pageVmFactory,
     IPageLocalRepository pageLocalRepository)
 {
     _pageExternalRepository = pageExternalRepository;
     _userStatusService      = userStatusService;
     _pageVmFactory          = pageVmFactory;
     _pageLocalRepository    = pageLocalRepository;
 }
示例#6
0
 public UsersController(
     IUserService userService,
     IUserVersionService userVersionService,
     IUserStatusService userStatusService,
     IMapper mapper)
 {
     _userService        = userService;
     _userStatusService  = userStatusService;
     _userVersionService = userVersionService;
     _mapper             = mapper;
 }
示例#7
0
 public CreateAccessRecordHandler(IVmsLogger <CreateAccessRecordHandler> logger, IUserRepository userRepository,
                                  IAccessRecordRepository accessRecordRepository, IAccessRecordFactory factory, IServiceBusMessagePublisher publisher, IServicesRepository servicesRepository
                                  , IUserStatusService userStatusService)
 {
     _logger                 = logger;
     _userRepository         = userRepository;
     _accessRecordRepository = accessRecordRepository;
     _factory                = factory;
     _publisher              = publisher;
     _servicesRepository     = servicesRepository;
     _userStatusService      = userStatusService;
 }
示例#8
0
 public WSController(
     IUserService userService,
     IUserStatusService userStatusService,
     IWorkScheduleVersionService workScheduleVersionService,
     IWorkScheduleService wsmService,
     IMapper mapper)
 {
     _userService       = userService;
     _userStatusService = userStatusService;
     _wsvService        = workScheduleVersionService;
     _wsmService        = wsmService;
     _mapper            = mapper;
 }
示例#9
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     ISmsSender smsSender,
     ILoggerFactory loggerFactory,
     IUserStatusService userStatusService,
     IGenderService genderService)
 {
     _userManager       = userManager;
     _signInManager     = signInManager;
     _emailSender       = emailSender;
     _smsSender         = smsSender;
     _logger            = loggerFactory.CreateLogger <AccountController>();
     _userStatusService = userStatusService;
     _genderService     = genderService;
 }
示例#10
0
 public AdminService(IUsersInformationService usersInformationService,
                     IHttpClientFactory clientFactory,
                     ILogger <AdminService> logger,
                     IMapper mapper,
                     IUserStatusService userStatusService,
                     IUsersEntrancesService usersEntrancesService,
                     IUsersAccessTokensLogsService accessTokensLogsService,
                     IUsersAccessTokensService tokensService)
 {
     _usersInformationService = usersInformationService;
     _clientFactory           = clientFactory;
     _logger                  = logger;
     _mapper                  = mapper;
     _userStatusService       = userStatusService;
     _usersEntrancesService   = usersEntrancesService;
     _accessTokensLogsService = accessTokensLogsService;
     _tokensService           = tokensService;
 }
 public UserStatusController(ILogger logger, IConfiguration configuration, IUserStatusService userStatusService) : base(configuration)
 {
     _userStatusService = userStatusService;
     _logger            = logger;
 }
 public UserStatusController(IUserStatusService userStatusService)
 {
     this.userStatusService = userStatusService;
 }
 public UserStatusController()
 {
     UserInformationFactory.SetInstance(UserInformation<User, WhoIsOnline>.Instance(new HttpContextWrapper(System.Web.HttpContext.Current), new WhoIsOnlineService<User, WhoIsOnline>(new EntityWhoIsOnlineRepository()), new GetUserStrategy()));
     theValidation = new ModelStateWrapper(this.ModelState);
     theUserStatusService = new UserStatusService(theValidation);
 }