Example #1
0
 public EmployeeAppService(IRepository <Employee, Guid> employeeRepository,
                           IRepository <WorkFlowUserOrganizationUnits, long> userOrganizationUnitRepository,
                           IRepository <WorkFlowOrganizationUnits, long> organizationUnitRepository
                           , IRepository <EducationExperience, Guid> educationExperienceRepository,
                           IRepository <WorkExperience, Guid> workExperienceRepository,
                           IRepository <EmployeeFamily, Guid> employeeFamilyRepository,
                           AbpOrganizationUnitsManager organizationUnitManager,
                           IRepository <PostInfo, Guid> postsRepository, IRepository <UserPosts, Guid> userPostsRepository, IRepository <OrganizationUnitPosts, Guid> organizationUnitPostsRepository,
                           IRepository <EmployeeSkill, Guid> employeeSkillRepository, IRepository <User, long> userRepository,
                           UserManager userManager)
 {
     _employeeRepository             = employeeRepository;
     _educationExperienceRepository  = educationExperienceRepository;
     _employeeFamilyRepository       = employeeFamilyRepository;
     _employeeSkillRepository        = employeeSkillRepository;
     _workExperienceRepository       = workExperienceRepository;
     _organizationUnitRepository     = organizationUnitRepository;
     _userOrganizationUnitRepository = userOrganizationUnitRepository;
     _organizationUnitManager        = organizationUnitManager;
     _postsRepository                 = postsRepository;
     _userPostsRepository             = userPostsRepository;
     _organizationUnitPostsRepository = organizationUnitPostsRepository;
     _userRepository = userRepository;
     _userManager    = userManager;
 }
Example #2
0
 public UserAppService(
     IRepository <User, long> repository,
     UserManager userManager,
     RoleManager roleManager, IRepository <UserPermissionSetting, long> abpPermissionsRepository,
     IRepository <User, long> userRepository, IRepository <AbpPermissionBase, long> abpPermissionBaseRepository,
     IRepository <Role> roleRepository, IRepository <WorkFlowUserOrganizationUnits, long> userOrganizationUnitsRepository,
     IPasswordHasher <User> passwordHasher
     , IRepository <UserPosts, Guid> userPostsRepository, IRepository <PostInfo, Guid> postsRepository, IRepository <ContractWithSystem, Guid> contractWithSystemRepository
     , IRepository <RealationSystem, Guid> realationSystemRepository, IRepository <OrganizationUnitPosts, Guid> organizationUnitPostsRepository
     , UserStore abpStore, IRepository <OrganizationUnitPostsRole, Guid> organizationUnitPostsRoleRepository
     , WorkFlowOrganizationUnitsManager workFlowOrganizationUnitsManager, AbpOrganizationUnitsManager abpOrganizationUnitsManager
     , IRepository <UserRole, long> userRoleRepository, IRepository <WorkFlowOrganizationUnits, long> workflowOrganizationUnitsRepository, IRepository <RoleRelation, Guid> roleRelationRepository)
     : base(repository)
 {
     _userManager                     = userManager;
     _roleManager                     = roleManager;
     _roleRepository                  = roleRepository;
     _passwordHasher                  = passwordHasher;
     _userPostsRepository             = userPostsRepository;
     _postsRepository                 = postsRepository;
     _contractWithSystemRepository    = contractWithSystemRepository;
     _realationSystemRepository       = realationSystemRepository;
     _organizationUnitPostsRepository = organizationUnitPostsRepository;
     _userRepository                  = userRepository;
     _abpStore = abpStore;
     _workFlowOrganizationUnitsManager = workFlowOrganizationUnitsManager;
     _userRoleRepository = userRoleRepository;
     _workflowOrganizationUnitsRepository = workflowOrganizationUnitsRepository;
     _userOrganizationUnitsRepository     = userOrganizationUnitsRepository;
     _organizationUnitPostsRoleRepository = organizationUnitPostsRoleRepository;
     _abpOrganizationUnitsManager         = abpOrganizationUnitsManager;
     _abpPermissionsRepository            = abpPermissionsRepository;
     _abpPermissionBaseRepository         = abpPermissionBaseRepository;
     _roleRelationRepository = roleRelationRepository;
 }