public IHttpActionResult GetWorkout(int id)
        {
            Workout workout = db.Workouts.Include(w=> w.Movimientos)
                                         .Where(x=> x.Id == id).AsNoTracking()
                                         .FirstOrDefault();
            if (workout == null)
            {
                return NotFound();
            }

            WorkoutDTO dto = new WorkoutDTO(workout);
            return Ok(dto);
        }
        public IHttpActionResult GetWorkout(int id)
        {
            Workout workout = db.Workouts.Include(w => w.Movimientos)
                              .Where(x => x.Id == id).AsNoTracking()
                              .FirstOrDefault();

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

            WorkoutDTO dto = new WorkoutDTO(workout);

            return(Ok(dto));
        }