public CompleteLessonCommandHandler(IMimoDbContext dbContext, IMapper mapper, IUserAchievementsUpdater userAchievementsUpdater, IAchievementTypesToUpdateCalculator achievementTypesCalculator, IResultValidator <CompleteLessonCommand> completeLessonValidator) { this.dbContext = dbContext; this.mapper = mapper; this.userAchievementsUpdater = userAchievementsUpdater; this.achievementTypesCalculator = achievementTypesCalculator; this.completeLessonValidator = completeLessonValidator; }
public AchievementTypesToUpdateCalculatorTests() { calculator = new AchievementTypesToUpdateCalculator(); }