Пример #1
0
        public bool AddObstacle(int idChallenge, ChallengeCreation.ObstacleCreation obstacle)
        {
            var mappedObstacle = _mapper.Map <Obstacle>(obstacle);

            return(_challengeRepository.AddObstacle(idChallenge, mappedObstacle));
        }