示例#1
0
 public LecturerService(
     IERPUnitOfWork context,
     ILogger <LecturerService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#2
0
 public SpecializedTrainingService(
     IERPUnitOfWork context,
     ILogger <SpecializedTrainingService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#3
0
 public ProvinceService(
     IERPUnitOfWork context,
     ILogger <ProvinceService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#4
0
 public EmployeeInfoService(
     IERPUnitOfWork context,
     ILogger <EmployeeInfoService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#5
0
 public ContractTypeService(
     IERPUnitOfWork context,
     ILogger <ContractTypeService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#6
0
 public ModelOfStudyService(
     IERPUnitOfWork context,
     ILogger <ModelOfStudyService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#7
0
 public IdentificationTypeService(
     IERPUnitOfWork context,
     ILogger <IdentificationTypeService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#8
0
 public DisciplineService(
     IERPUnitOfWork context,
     ILogger <DisciplineService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
 public TrainingCourseService(
     IERPUnitOfWork context,
     ILogger <TrainingCourseService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#10
0
 public AppraiseAnswerService(
     IERPUnitOfWork context,
     ILogger <AppraiseAnswerService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#11
0
 public EducationService(
     IERPUnitOfWork context,
     ILogger <EducationService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#12
0
 public RankingService(
     IERPUnitOfWork context,
     ILogger <RankingService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
 public RelationShipTypeService(
     IERPUnitOfWork context,
     ILogger <RelationShipTypeService> logger,
     IHttpContextAccessor httpContext)
 {
     _context          = context;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#14
0
 public EmployeeWorkingStatusService(
     IERPUnitOfWork context,
     IMemoryCachingService memoryCachingService,
     ILogger <EmployeeWorkingStatusService> logger,
     IHttpContextAccessor httpContext)
 {
     _context = context;
     _memoryCachingService = memoryCachingService;
     _logger           = logger;
     base._httpContext = httpContext;
 }
示例#15
0
 public ReligionService(
     IERPUnitOfWork context,
     IMemoryCachingService memoryCachingService,
     ILogger <ReligionService> logger,
     IHttpContextAccessor httpContext)
 {
     _context = context;
     _logger  = logger;
     _memoryCachingService = memoryCachingService;
     base._httpContext     = httpContext;
 }
 public ProfessionalQualificationService(
     IERPUnitOfWork context,
     IMemoryCachingService memoryCachingService,
     ILogger <ProfessionalQualificationService> logger,
     IHttpContextAccessor httpContext)
 {
     _context = context;
     _logger  = logger;
     _memoryCachingService = memoryCachingService;
     base._httpContext     = httpContext;
 }
示例#17
0
 public EmployeeService(
     IERPUnitOfWork context,
     IEmployeeInfoService employeeInfoService,
     ILogger <EmployeeService> logger,
     IHttpContextAccessor httpContext,
     IImageServerService imageServerService)
 {
     _context             = context;
     _employeeInfoService = employeeInfoService;
     _logger             = logger;
     base._httpContext   = httpContext;
     _imageServerService = imageServerService;
 }
示例#18
0
        public ImageServerService(
            IERPUnitOfWork context,
            IConfiguration config,
            ILogger <ImageServerService> logger,
            IHttpContextAccessor httpContext)
        {
            _context          = context;
            _config           = config;
            _logger           = logger;
            base._httpContext = httpContext;

            serverPath = _config["FileUpload:ServerFile:ServerPath"].ToLower();
            configPath = _config["FileUpload:ServerFile:ImagePath"].ToLower();

            if (!Directory.Exists(Path.Combine(configPath)))
            {
                Directory.CreateDirectory(Path.Combine(configPath));
            }
        }
示例#19
0
 public AuthenticationService(IJwtTokenSecurityService tokenService, IERPUnitOfWork context, ILogger <AuthenticationService> logger)
 {
     _tokenService = tokenService;
     _context      = context;
     _logger       = logger;
 }
示例#20
0
 public AccountService()
 {
     unitOfWork = new ERPUnitOfWork(DBConnect.ConnectString);
 }