2026-03-24 14:35:23 +05:30
|
|
|
import apiClient from "@/api/client";
|
|
|
|
|
|
|
|
|
|
export const getCareersApi = async () => {
|
2026-05-11 00:04:22 +05:30
|
|
|
const res = await apiClient.get("/careers/getAll?admin=true");
|
2026-03-24 14:35:23 +05:30
|
|
|
return res.data;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const deleteCareerApi = async (id: number) => {
|
|
|
|
|
const res = await apiClient.delete(`/careers/${id}`);
|
|
|
|
|
return res.data;
|
|
|
|
|
};
|