public IHttpActionResult Get(int id)
        {
            trainingPlan trainingPlanFound;

            try
            {
                trainingPlanFound = userService.findById(id);
            }
            catch (Exception e)
            {
                return(ResponseMessage(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, e.ToString())));
            }

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

            return(Ok(trainingPlanFound));
        }