public async Task <FavouriteTrainerDTO> CreateFavouriteTrainer(FavouriteTrainerDTO favourite) { var mappedFavourite = _mapper.Map <FavouriteTrainer>(favourite); var fav = await _favouriteRepository.CreateFavouriteTrainer(mappedFavourite); return(_mapper.Map <FavouriteTrainerDTO>(fav)); }