public TrainingHistoryController( IUserResolverService userResolverService, ITrainingHistoryService trainingHistoryService) { this.userResolverService = userResolverService; this.trainingHistoryService = trainingHistoryService; }
public ActiveTrainingService( IMapper mapper, IRepository <User> userRepository, ITrainingHistoryService trainingHistoryService, IExerciseHistoryService exerciseHistoryService, IRepository <ActiveTraining> activeTrainingRepository, IRepository <TrainingHistory> trainingHistoryRepository, IRepository <TrainingTemplate> trainingTemplateRepository) { this.mapper = mapper; this.userRepository = userRepository; this.trainingHistoryService = trainingHistoryService; this.exerciseHistoryService = exerciseHistoryService; this.activeTrainingRepository = activeTrainingRepository; this.trainingHistoryRepository = trainingHistoryRepository; this.trainingTemplateRepository = trainingTemplateRepository; }
public TrainingHistoryController(ITrainingHistoryService trainingHistoryService) { _trainingHistoryService = trainingHistoryService; }