Ejemplo n.º 1
0
 /// <summary>
 /// this is the default constructor for the Skill service
 /// </summary>
 /// <param name="unityContainer">object of unity container interface for dependency injection </param>
 public FeatureService(IFeatureRepository featureRepository, ILevelRepository levelRepository, IEmployeeRepository employeeRepository, ILevelService levelService)
 {
     _levelRepository    = levelRepository;
     _featureRepository  = featureRepository;
     _employeeRepository = employeeRepository;
     _levelService       = levelService;
 }
Ejemplo n.º 2
0
 public FilterValidator(
     ILevelRepository levelRepository,
     ITeacherFilterParametersValidator parameterValidator)
 {
     this._levelRepository    = levelRepository;
     this._parameterValidator = parameterValidator;
 }
Ejemplo n.º 3
0
 public LevelLevelService(ILevelLevelRepository levelLevelRepository,
                          ILevelRepository levelRepository, IUnitOfWork uow, IEmployeeRepository employeeRepository)
     : this(levelLevelRepository, uow)
 {
     this._levelRepository = levelRepository;
     _employeeRepository   = employeeRepository;
 }
Ejemplo n.º 4
0
 public TeacherFilterParametersValidator(
     ITeacherParametersValidator parametersValidator,
     ILevelRepository levelRepository)
 {
     this._parametersValidator = parametersValidator;
     this._levelRepository     = levelRepository;
 }
Ejemplo n.º 5
0
 public CommentService(IHttpContextAccessor httpContextAccessor,
                       IUserRepository userRepository,
                       IPostRepository postRepository,
                       ICommentRepository commentRepository,
                       IReplyCommentRepository replyCommentRepository,
                       IDownVoteRepository downVoteRepository,
                       IUpVoteRepository upVoteRepository,
                       IFcmRepository fcmRepository,
                       IMapper mapper,
                       INotificationObjectRepository notificationObjectRepository,
                       IObjectLevelRepository objectLevelRepository,
                       ILevelRepository levelRepository,
                       IUserService userService,
                       IViolenceWordRepository violenceWordRepository)
 {
     this.httpContextAccessor    = httpContextAccessor;
     this.userRepository         = userRepository;
     this.postRepository         = postRepository;
     this.commentRepository      = commentRepository;
     this.replyCommentRepository = replyCommentRepository;
     this.downVoteRepository     = downVoteRepository;
     this.upVoteRepository       = upVoteRepository;
     this.fcmRepository          = fcmRepository;
     this.mapper = mapper;
     this.notificationObjectRepository = notificationObjectRepository;
     this.objectLevelRepository        = objectLevelRepository;
     this.levelRepository        = levelRepository;
     this.userService            = userService;
     this.violenceWordRepository = violenceWordRepository;
 }
 public QuestionController(IQuestionService questionService, IQuestionRepository questionRepository, ILevelRepository levelRepository, ISubjectRepository subjectRepository)
 {
     _questionService    = questionService;
     _questionRepository = questionRepository;
     _levelRepository    = levelRepository;
     _subjectRepository  = subjectRepository;
 }
Ejemplo n.º 7
0
 public UserService(IUserRepository userRepository,
                    IHttpContextAccessor httpContextAccessor,
                    IConfiguration configuration,
                    IAccountRepository accountRepository,
                    IPostRepository postRepository,
                    IClientGroupRepository clientGroupRepository,
                    IFieldRepository fieldRepository,
                    IFollowRepository followRepository,
                    IMapper mapper,
                    IObjectLevelRepository objectLevelRepository,
                    INotificationObjectRepository notificationObjectRepository,
                    IFcmRepository fcmRepository,
                    ILevelRepository levelRepository, ISearchHistoryRepository searchHistoryRepository)
 {
     this.userRepository        = userRepository;
     _httpContextAccessor       = httpContextAccessor;
     _configuration             = configuration;
     this.accountRepository     = accountRepository;
     this.postRepository        = postRepository;
     this.clientGroupRepository = clientGroupRepository;
     this.fieldRepository       = fieldRepository;
     this.followRepository      = followRepository;
     this.mapper = mapper;
     this.objectLevelRepository        = objectLevelRepository;
     this.notificationObjectRepository = notificationObjectRepository;
     this.fcmRepository           = fcmRepository;
     this.levelRepository         = levelRepository;
     this.searchHistoryRepository = searchHistoryRepository;
 }
Ejemplo n.º 8
0
 public GenerateDocumentService(ISessionStateService session, IUsersRepository usersRepository, ILevelRepository levelRepository,
                                ICompanyRepository companyRepository)
 {
     this.session           = session;
     this.usersRepository   = usersRepository;
     this.levelRepository   = levelRepository;
     this.companyRepository = companyRepository;
 }
Ejemplo n.º 9
0
 public QuizsController(IQuizRepository repo, ICategoryRepository repoCat, ISubCategoryRepository repoSubCat, ILevelRepository repoLevel, IQuestionTypeRepository repoQuestionType)
 {
     _repo = repo;
     _repoCat = repoCat;
     _repoLevel = repoLevel;
     _repoSubCat = repoSubCat;
     _repoQuestionType = repoQuestionType;
 }
Ejemplo n.º 10
0
 public LevelsController(ApplicationDbContext context,
                         ILevelRepository levelRepository,
                         ILogger <LevelsController> logger)
 {
     this.context         = context;
     this.levelRepository = levelRepository;
     this.logger          = logger;
 }
Ejemplo n.º 11
0
 public NoteService(INoteRepository noteRepository, ICustomerRepository customerRepository, ILevelRepository levelRepository, IUnitOfWork uow
                    , IEmployeeRepository employeeRepository)
     : this(noteRepository, uow)
 {
     this._customerRepository = customerRepository;
     this._levelRepository    = levelRepository;
     _employeeRepository      = employeeRepository;
 }
Ejemplo n.º 12
0
 public QuestionRepository(IDatabaseContext databaseContext,
                           IPlanetRepository planetRepository,
                           ILevelRepository levelRepository)
 {
     _databaseContext  = databaseContext;
     _planetRepository = planetRepository;
     _levelRepository  = levelRepository;
 }
 /// <summary>
 /// this is the default constructor for level controller
 /// </summary>
 public LevelService(ILevelRepository levelRepository, IDepartmentDesignationRepository departmentDesignationRepository, IFeatureRepository featureRepository, IDesignationRepository designationRepository, IDepartmentRepository departmentRepository, IDesignationLevelRepository designationLevelRepository)
 {
     _levelRepository = levelRepository;
     _departmentDesignationRepository = departmentDesignationRepository;
     _featureRepository          = featureRepository;
     _designationRepository      = designationRepository;
     _departmentRepository       = departmentRepository;
     _designationLevelRepository = designationLevelRepository;
 }
Ejemplo n.º 14
0
 public MasterDataServices(IFieldRepository fieldRepository, ILevelRepository levelRepository, IReportReasonRepository reportReasonRepository, INotificationTypeRepository notificationTypeRepository, IMapper mapper, IFieldGroupRepository fieldGroupRepository)
 {
     this.fieldRepository            = fieldRepository;
     this.levelRepository            = levelRepository;
     this.reportReasonRepository     = reportReasonRepository;
     this.notificationTypeRepository = notificationTypeRepository;
     this.mapper = mapper;
     this.fieldGroupRepository = fieldGroupRepository;
 }
Ejemplo n.º 15
0
 public ProblemService(IProblemRepository problemRepository, ICustomerRepository customerRepository, IUnitOfWork uow
                       , IEmployeeRepository employeeRepository,
                       ILevelRepository levelRepository)
     : this(problemRepository, uow)
 {
     this._customerRepository = customerRepository;
     _employeeRepository      = employeeRepository;
     _levelRepository         = levelRepository;
 }
Ejemplo n.º 16
0
 public LevelConditionService(ILevelConditionRepository levelConditionRepository, ILevelRepository levelRepository,
                              IConditionRepository conditionRepository, IUnitOfWork uow
                              , IEmployeeRepository employeeRepository)
     : this(levelConditionRepository, uow)
 {
     this._conditionRepository = conditionRepository;
     this._levelRepository     = levelRepository;
     _employeeRepository       = employeeRepository;
 }
 public TestController(ITestQuestionRepository testQuestionRepository, IJobRoleRepository jobRoleRepository, IQuestionService questionService, ITestService testService, IQuestionRepository questionRepository, ILevelRepository levelRepository, ISubjectRepository subjectRepository)
 {
     _questionService        = questionService;
     _questionRepository     = questionRepository;
     _levelRepository        = levelRepository;
     _subjectRepository      = subjectRepository;
     _testService            = testService;
     _jobRoleRepository      = jobRoleRepository;
     _testQuestionRepository = testQuestionRepository;
 }
Ejemplo n.º 18
0
 public LevelService(ILevelRepository levelRepository, IObjectLevelRepository objectLevelRepository, IUserRepository userRepository, IFieldRepository fieldRepository, IMapper mapper, IPostRepository postRepository, IHttpContextAccessor httpContextAccessor)
 {
     this.levelRepository       = levelRepository;
     this.objectLevelRepository = objectLevelRepository;
     this.userRepository        = userRepository;
     this.fieldRepository       = fieldRepository;
     this.mapper              = mapper;
     this.postRepository      = postRepository;
     this.httpContextAccessor = httpContextAccessor;
 }
Ejemplo n.º 19
0
 public LevelService(ILevelRepository levelRepository,
                     ILevelTypeRepository levelTypeRepository,
                     IUnitOfWork uow,
                     ICustomerLevelRepository customerLevelRepository,
                     IEmployeeRepository employeeRepository)
 {
     _uow = uow;
     _levelTypeRepository     = levelTypeRepository;
     _levelRepository         = levelRepository;
     _customerLevelRepository = customerLevelRepository;
     _employeeRepository      = employeeRepository;
 }
Ejemplo n.º 20
0
 public CustomerLevelService(ICustomerLevelRepository customerLevelRepository, ICustomerRepository customerRepository, ILevelRepository levelRepository, IUnitOfWork uow
                             , IEmployeeRepository employeeRepository, ILevelConditionService levelConditionService,
                             IEmailRepository emailRepository, ISmsRepository smsRepository, ISaleRepository saleRepository, IQueryRepository queryRepository,
                             ISupportRepository supportRepository, ISupportStatusRepository supportStatusRepository)
 {
     _customerLevelRepository = customerLevelRepository;
     _uow = uow;
     this._customerRepository = customerRepository;
     this._levelRepository    = levelRepository;
     _employeeRepository      = employeeRepository;
     _levelConditionService   = levelConditionService;
     _emailRepository         = emailRepository;
     _smsRepository           = smsRepository;
     _saleRepository          = saleRepository;
     _queryRepository         = queryRepository;
     _supportRepository       = supportRepository;
     _supportStatusRepository = supportStatusRepository;
 }
Ejemplo n.º 21
0
 public UnitOfWork(DbContext pDbContext,
                   IQuestionRepository pQuestionRepository,
                   IQuestionsSetRepository pQuestionsSetRepository,
                   ISessionRepository pSessionRepository,
                   IUserRepository pUserRepository,
                   ILevelRepository pLevelRepository,
                   ICategoryRepository pCategoryRepository,
                   ISessionAnswerRepository pSessionAnswerRepository
                   )
 {
     this._dbContext              = pDbContext ?? throw new NotImplementedException();
     this.QuestionRepository      = pQuestionRepository;
     this.QuestionsSetRepository  = pQuestionsSetRepository;
     this.SessionRepository       = pSessionRepository;
     this.UserRepository          = pUserRepository;
     this.LevelRepository         = pLevelRepository;
     this.CategoryRepository      = pCategoryRepository;
     this.SessionAnswerRepository = pSessionAnswerRepository;
 }
Ejemplo n.º 22
0
 public PostService(IHttpContextAccessor httpContextAccessor,
                    IConfiguration configuration,
                    IUserRepository userRepository,
                    IPostRepository postRepository,
                    IFollowRepository followRepository,
                    IUpVoteRepository upVoteRepository,
                    IDownVoteRepository downVoteRepository,
                    IFcmRepository fcmRepository,
                    IMapper mapper,
                    IObjectLevelRepository objectLevelRepository,
                    ILevelService levelService,
                    IFieldGroupRepository fieldGroupRepository,
                    ILevelRepository levelRepository,
                    IMessageService messageService,
                    IConversationService conversationService,
                    ICommentRepository commentRepository,
                    IReplyCommentRepository replyCommentRepository,
                    IViolenceWordRepository violenceWordRepository,
                    IUserService userService,
                    ISearchHistoryRepository searchHistoryRepository)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.configuration       = configuration;
     this.userRepository      = userRepository;
     this.postRepository      = postRepository;
     this.followRepository    = followRepository;
     this.upVoteRepository    = upVoteRepository;
     this.downVoteRepository  = downVoteRepository;
     this.fcmRepository       = fcmRepository;
     this.mapper = mapper;
     this.objectLevelRepository   = objectLevelRepository;
     this.levelService            = levelService;
     this.fieldGroupRepository    = fieldGroupRepository;
     this.levelRepository         = levelRepository;
     this.messageService          = messageService;
     this.conversationService     = conversationService;
     this.commentRepository       = commentRepository;
     this.replyCommentRepository  = replyCommentRepository;
     this.violenceWordRepository  = violenceWordRepository;
     this.userService             = userService;
     this.searchHistoryRepository = searchHistoryRepository;
 }
Ejemplo n.º 23
0
 public PayrollServices(IPayrollRepository payrollRepository, ILookupRepository lookupRepository, IEmployeeRepository employeeRepository,
                        IPayrollViewModelFactory payrollViewModelFactory, ILevelGradeRepository levelGradeRepository, ICompanyRepository companyRepository,
                        IEmployeeDeductionRepository employeeDeductionRepository, IRewardRepository rewardRepository, ILoanRepository loanRepository,
                        IEmployeeOnBoardRepository employeeOnBoardRepository, IUsersRepository usersRepository, ILevelRepository levelRepository,
                        IGradeRepository gradeRepository, IBenefitRepository benefitRepository, IDigitalFileRepository digitalFileRepository, ISessionStateService session)
 {
     this.lookupRepository            = lookupRepository;
     this.payrollRepository           = payrollRepository;
     this.payrollViewModelFactory     = payrollViewModelFactory;
     this.levelGradeRepository        = levelGradeRepository;
     this.employeeRepository          = employeeRepository;
     this.employeeDeductionRepository = employeeDeductionRepository;
     this.companyRepository           = companyRepository;
     this.rewardRepository            = rewardRepository;
     this.loanRepository            = loanRepository;
     this.usersRepository           = usersRepository;
     this.levelRepository           = levelRepository;
     this.gradeRepository           = gradeRepository;
     this.benefitRepository         = benefitRepository;
     this.employeeOnBoardRepository = employeeOnBoardRepository;
     this.digitalFileRepository     = digitalFileRepository;
     this.session = session;
 }
 /// <summary>
 /// Constructs a new instance of the <see cref="ServiceLocator" /> class
 /// </summary>
 public ServiceLocator()
 {
     Level           = new LevelModel();
     Entity          = new EntityModel();
     LevelRepository = new LevelRepository();
 }
Ejemplo n.º 25
0
 public LevelsController(ILevelRepository repo)
 {
     _repo = repo;
 }
Ejemplo n.º 26
0
 private static void PerformLevelsSaving(Vacancy destination, VacancyDTO source, ILevelRepository levelRepository)
 {
     destination.Levels.Clear();
     source.LevelIds.ToList().ForEach(levelId =>
     {
         destination.Levels.Add(levelRepository.GetByID(levelId));
     });
 }
Ejemplo n.º 27
0
 public LevelServiceImpl()
 {
     levelRepo = Factory.GetInstance().GetLevel();
 }
 public CoursController()
 {
     subjectRepository = SubjectRepositoryFactory.Current.GetSubjectRepository();
     levelRepository = LevelRepositoryFactory.Current.GetLevelRepository();
     coursRepository = CoursRepositoryFactory.Current.GetCoursRepository();
 }
Ejemplo n.º 29
0
 public EditLevelUseCase(ILevelRepository levelRepository, IMapper mapper)
 {
     _levelRepository = levelRepository;
     _mapper          = mapper;
 }
 public BaseDeDonneesTestController()
 {
     subjectRepository = SubjectRepositoryFactory.Current.GetSubjectRepository();
     levelRepository = LevelRepositoryFactory.Current.GetLevelRepository();
     coursRepository = CoursRepositoryFactory.Current.GetCoursRepository();
 }
 public LevelService()
 {
     this.levelRepository = new LevelRepository();
 }
Ejemplo n.º 32
0
 private static void PerformLevelsSaving(Vacancy destination, VacancyDTO source, ILevelRepository levelRepository)
 {
     destination.Levels.Clear();
     source.LevelIds.ToList().ForEach(levelId =>
     {
         destination.Levels.Add(levelRepository.GetByID(levelId));
     });
 }
Ejemplo n.º 33
0
 public LevelService(IUnitOfWork unitOfWork, ILevelRepository levelRepository)
 {
     _unitOfWork      = unitOfWork;
     _levelRepository = levelRepository;
 }
Ejemplo n.º 34
0
 public LevelController(ILevelRepository levelRepository)
 {
     _levelRepository = levelRepository;
 }
Ejemplo n.º 35
0
 public LevelService(IUnitOfWorkAsync unitOfWork, ILevelRepository repository)
 {
     _unitOfWork      = unitOfWork;
     _levelRepository = repository;
 }