public PicklistController( lmsContext context, //ISessionTypeRepository sessionTypeRepository, //ITagsRepository tagsRepository, //ILocationRepository locationRepository, //IDepartmentRepository departmentRepository, //ICategoryRepository categoryRepository, IAppraisalRepository appraisalRepository, //ILanguageRepository languageRepository, //IUserRepository userRepository, //ILevelRepository levelRepository, //ITypesRepository typesRepository, IValidationService validationService, IAuthenticationService authenticationService ) { _context = context; //_sessionTypeRepository = sessionTypeRepository; //_tagsRepository = tagsRepository; //_locationRepository = locationRepository; //_departmentRepository = departmentRepository; //_categoryRepository = categoryRepository; _appraisalRepository = appraisalRepository; //_languageRepository = languageRepository; //_userRepository = userRepository; //_levelRepository = levelRepository; //_typesRepository = typesRepository; _validationService = validationService; _authenticationService = authenticationService; _NotFound = new GenericResult { Response = false, Message = "Record not found" }; _Duplicate = new GenericResult { Response = false, Message = "Record already exists. Cannot enter duplicate entry" }; _UnAuthorized = new GenericResult { Response = false, Message = "You dont have a permission to access this module" }; }
public AppraisalQuestionService(IAppraisalRepository appraisalsRepository, IAppraisalQuestionRepository appraisalQuestionsRepository, IUnitOfWork unitOfWork) { this.appraisalsRepository = appraisalsRepository; this.appraisalQuestionsRepository = appraisalQuestionsRepository; this.unitOfWork = unitOfWork; }
public AppraisalWithDetailsController(IAppraisalRepository appraisalRepository) { _appraisalRepository = appraisalRepository; ; }
public AppraisalService(IAppraisalRepository appraisalsRepository, IAppraisalQuestionRepository appraisalQuestionsRepository, IUnitOfWork unitOfWork) { this.appraisalsRepository = appraisalsRepository; this.appraisalQuestionsRepository = appraisalQuestionsRepository; this.unitOfWork = unitOfWork; }
public AppraisalController(IAppraisalRepository appraisalRepository) { _appraisalRepository = appraisalRepository; ; }