コード例 #1
0
 public ExercisesController(ExerciseRepository exerciseRepository, MuscleRepository muscleRepository,
                            EquipmentRepository equipmentRepository, ExerciseCategoryRepository exerciseCategoryRepository, IMapper mapper)
 {
     this.exerciseRepository         = exerciseRepository;
     this.muscleRepository           = muscleRepository;
     this.equipmentRepository        = equipmentRepository;
     this.exerciseCategoryRepository = exerciseCategoryRepository;
     this.mapper = mapper;
 }
コード例 #2
0
 public MusclesController(MuscleRepository muscleRepository, ExerciseRepository exerciseRepository, IMapper mapper)
 {
     this.muscleRepository   = muscleRepository;
     this.exerciseRepository = exerciseRepository;
     this.mapper             = mapper;
 }