text: import Api from "@/endpoint/Api";
  
  export default {
    getAll() {
      return Api.get("school");
    },
    get(id) {
      return Api.get("school/" + id);
    },
    add(school) {
      return Api.post("school", school);
    },
    put(school) {
      return Api.put("school/" + school.id, school);
    },
    delete(school) {
      return Api.delete("school/" + school.id);
    }
  };
  