public SysOfficeController(IStringLocalizer <LanguageSub> localizer, ISysOfficeService service, IMapper iMapper, ICurrentUser icurrentUser, ISysUserService isysUserService) { stringLocalizer = localizer; sysOfficeService = service; mapper = iMapper; currentUser = icurrentUser; sysUserService = isysUserService; }
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; }