Exemple #1
0
        public IActionResult GetClientActivity(int clientActivityId)
        {
            var activity = _sportRepository.GetClientActivity(clientActivityId);

            if (activity == null)
            {
                return(NotFound());
            }

            var activityResult = Mapper.Map <Model.ClientActivity>(activity);

            return(Ok(activityResult));
        }