Ejemplo n.º 1
0
 public UserService(IUserRepository repository, IMapper mapper, ITrainerRepository trainerRepository,
                    IClubRepository clubRepository, IFavouriteRepository favouriteRepository,
                    IRateRepository rateRepository, IBodyMeasurementRepository bodyMeasurementRepository,
                    ITrainingRepository trainingRepository, IReservationRepository reservationRepository,
                    IUserTrainingRepository userTrainingRepository, ITrainingService trainingService,
                    IChatRepository chatRepository)
 {
     _userRepository            = repository;
     _mapper                    = mapper;
     _trainerRepository         = trainerRepository;
     _clubRepository            = clubRepository;
     _rateRepository            = rateRepository;
     _favouriteRepository       = favouriteRepository;
     _bodyMeasurementRepository = bodyMeasurementRepository;
     _trainingRepository        = trainingRepository;
     _reservationRepository     = reservationRepository;
     _userTrainingRepository    = userTrainingRepository;
     _trainingService           = trainingService;
     _chatRepository            = chatRepository;
 }
Ejemplo n.º 2
0
 public BodyMeasurementService(IBodyMeasurementRepository bodyMeasurementRepository, IMapper mapper)
 {
     _bodyMeasurementRepository = bodyMeasurementRepository;
     _mapper = mapper;
 }