public TenantAppService() { AppUrlService = NullAppUrlService.Instance; }
public UserAppService( IAppConfigurationAccessor configurationAccessor, RoleManager roleManager, IHttpClientFactory clientFactory, IUserEmailer userEmailer, IUserListExcelExporter userListExcelExporter, INotificationSubscriptionManager notificationSubscriptionManager, IAppNotifier appNotifier, IRepository <RolePermissionSetting, long> rolePermissionRepository, IRepository <UserPermissionSetting, long> userPermissionRepository, IRepository <UserRole, long> userRoleRepository, IRepository <Role> roleRepository, IRepository <OverrideShift> overrideShiftRepository, IUserPolicy userPolicy, IEnumerable <IPasswordValidator <User> > passwordValidators, IPasswordHasher <User> passwordHasher, IRepository <OrganizationUnit, long> organizationUnitRepository, IRoleManagementConfig roleManagementConfig, UserManager userManager, IRepository <Machine> machineRepository, IRepository <UserOrganizationUnit, long> userOrganizationUnitRepository, IRepository <OrganizationUnitRole, long> organizationUnitRoleRepository, IRepository <TimeProfile> timeProfileRepository, IRepository <JobTitle> jobTitleRepository, IRepository <Location> locationRepository, IRepository <TimeProfileDetail> timeProfileDetailRepository, IDbContextProvider <AttendanceDbContext> dbCOntext, IRepository <Nationality> nationalityRepository, IRepository <User, long> userRepository, IRepository <UserShift> userShift, IRepository <Shift> shift, IRepository <Beacon> beaconRepository, IActiveTransactionProvider transactionProvider, IRepository <UserDelegation> userDelegationRepository) { _roleManager = roleManager; _userEmailer = userEmailer; _overrideShiftRepository = overrideShiftRepository; _userListExcelExporter = userListExcelExporter; _notificationSubscriptionManager = notificationSubscriptionManager; _appNotifier = appNotifier; _rolePermissionRepository = rolePermissionRepository; _userPermissionRepository = userPermissionRepository; _userRoleRepository = userRoleRepository; _userPolicy = userPolicy; _passwordValidators = passwordValidators; _passwordHasher = passwordHasher; _organizationUnitRepository = organizationUnitRepository; _roleManagementConfig = roleManagementConfig; _userManager = userManager; _userOrganizationUnitRepository = userOrganizationUnitRepository; _organizationUnitRoleRepository = organizationUnitRoleRepository; _roleRepository = roleRepository; _userRepository = userRepository; AppUrlService = NullAppUrlService.Instance; _timeProfileRepository = timeProfileRepository; _locationRepository = locationRepository; _timeProfileDetailRepository = timeProfileDetailRepository; _dbCOntext = dbCOntext; _transactionProvider = transactionProvider; _jobTitleRepository = jobTitleRepository; _nationalityRepository = nationalityRepository; _shiftRepository = shift; _userShiftRepository = userShift; _beaconRepository = beaconRepository; _userDelegationRepository = userDelegationRepository; _machineRepository = machineRepository; _clientFactory = clientFactory; _appConfiguration = configurationAccessor.Configuration; }