import {api} from "../utils/axiosClient";

export const TasksRepository = {
    getTaskList: ( id, fromdate = null, todate = null ) => api.get( `api/task/list?projectId=${ id }` ),
    reportTsak: ( data ) => api.post( 'api/task/report', data ),
    taskComments:(data)=>api.post("api/task/comment",data)
}