import apiClient from "@/api/client";
import { EXERCICES } from "@/api/endpoints";
import { AbstractService } from "../abstract.service";

export class ExerciceService extends AbstractService {
  async getExercices() {
    return this.request(async () => {
      const response = await apiClient.get(EXERCICES.GETALL);
      return response.data.data;
    });
  }
}
