Beispiel #1
0
 public SysUserController(IStringLocalizer <LanguageSub> localizer, ISysUserService service, IMapper iMapper, ICurrentUser currUser, ISysEmployeeService isysEmployeeService, ISysUserLevelService isysUserLevelService)
 {
     stringLocalizer     = localizer;
     sysUserService      = service;
     mapper              = iMapper;
     currentUser         = currUser;
     sysEmployeeService  = isysEmployeeService;
     sysUserLevelService = isysUserLevelService;
 }
Beispiel #2
0
 public ProfileService(IAuthenUserService service,
                       ISysEmployeeService emService,
                       IContextBase <SysUserLevel> userLevelRepo
                       )
 {
     authenUserService   = service;
     employeeService     = emService;
     userLevelRepository = userLevelRepo;
 }
Beispiel #3
0
 public SysUserService(IContextBase <SysUser> repository, IMapper mapper,
                       IContextBase <SysEmployee> employeeRepo,
                       IContextBase <SysUserLevel> userlevelRepo, IDistributedCache distributedCache, IStringLocalizer <SystemLanguageSub> localizer,
                       ISysEmployeeService employeeService,
                       ICurrentUser currUser,
                       ISysCompanyService sysCompanyRepo,
                       ISysOfficeService sysOfficeRepo) : base(repository, mapper)
 {
     employeeRepository  = employeeRepo;
     userlevelRepository = userlevelRepo;
     cache                = distributedCache;
     stringLocalizer      = localizer;
     sysEmployeeService   = employeeService;
     currentUser          = currUser;
     sysCompanyRepository = sysCompanyRepo;
     sysOfficeRepository  = sysOfficeRepo;
 }
Beispiel #4
0
 public SysEmployeeController(IStringLocalizer <LanguageSub> localizer, ISysEmployeeService isysEmployeeService,
                              IMapper mapper, ICurrentUser currUser
                              )
 {
     sysEmployeeService = isysEmployeeService;
 }