public RefreshLearnerCommandHandler( ILogger <RefreshLearnerCommandHandler> logger, IApprenticeshipIncentiveDomainRepository incentiveDomainRepository, ILearnerService learnerService, ILearnerDomainRepository learnerDomainRepository) { _logger = logger; _incentiveDomainRepository = incentiveDomainRepository; _learnerService = learnerService; _learnerDomainRepository = learnerDomainRepository; }
public override void Setup() { TimerSchedule = Substitute.For <TimerSchedule>(); CommonService = Substitute.For <ICommonService>(); Logger = Substitute.For <ILogger <ILearnerService> >(); LearnerService = Substitute.For <ILearnerService>(); var mapperConfig = new MapperConfiguration(c => c.AddMaps(typeof(Startup).Assembly)); Mapper = new AutoMapper.Mapper(mapperConfig); LearnerGenderFunction = new Functions.LearnerGender(CommonService, LearnerService); }
public LearnersController(ILearnerService learnerService, IParentLearnerService parentLearnerService) { _learnerService = learnerService; _parentLearnerService = parentLearnerService; }
public LearnersController(ILearnerService learnerService, AppDbContext context) { _learnerService = learnerService; _context = context; }
public ParentLearnerService(IRepositoryWrapper repo, ILearnerService learnerService, IParentService parentService) { _repo = repo; _learnerService = learnerService; _parentService = parentService; }
public LearnerController(IMapper mapper, ILearnerService learnerService) { _mapper = mapper; _learnerService = learnerService; }
public LearnerGender(ICommonService commonService, ILearnerService learnerService) { _commonService = commonService; _learnerService = learnerService; }