Beispiel #1
0
        public IEnumerable <Workout> PaginatedWorkout()
        {
            int start = (CurrentPage - 1) * WorkoutPerPage;

            return(Workouts.OrderBy(b => b.WorkoutId).Skip(start).Take(WorkoutPerPage));
        }