Напиши organization service для:
```
import React, { useEffect, useState } from "react";
import OrganizationService from "../../api/services/organization-service";
import { Table, Button, Space, Modal, Form, Input } from "antd";
import { EditOutlined, DeleteOutlined } from "@ant-design/icons";

export const OrganizationsView = (props) => {
    const [list, setList] = useState([]);
    const [currentRecord, setCurrentRecord] = useState(null);
    const [visible, setVisible] = useState(false);
	

    const columns = [
        {
            title: 'ID',
            dataIndex: 'id',
            key: 'id',
        },
        {
            title: 'Название',
            dataIndex: 'title',
            key: 'title',
        },
        {
            title: 'ИНН',
            dataIndex: 'inn',
            key: 'inn',
        },
        {
            title: 'Действия',
            key: 'actions',
            render: (text, record) => (
                <Space size="middle">
                    <div onClick={() => updateRecordHandler(record)}>
                        <EditOutlined />
                    </div>
                    <div onClick={() => deleteRecordHandler(record.id)}>
                        <DeleteOutlined />
                    </div>
                </Space>
            ),
        }
    ];

    const handleOk = async () => {
        try {
            if (currentRecord?.id) {
                // Обновление существующей записи
                await OrganizationService.updateRecord(currentRecord);
            } else {
                // Создание новой записи
                await OrganizationService.createRecord(currentRecord);
            }
            // Обновление списка после изменения
            const updatedList = await OrganizationService.getAllRecords();
            setList(updatedList);
            setVisible(false);
            setCurrentRecord(null);
        } catch (error) {
            console.error('Ошибка при сохранении данных:', error);
        }
    };

    const handleCancel = () => {
        setVisible(false);
        setCurrentRecord(null);
    };

    const createRecordHandler = () => {
        setCurrentRecord({ title: '', inn: '' });
        setVisible(true);
    };

    const updateRecordHandler = (record) => {
        setCurrentRecord(record);
        setVisible(true);
    };

    const deleteRecordHandler = async (recordId) => {
        await OrganizationService.removeRecord(recordId);
        setList(list.filter(it => it.id !== recordId));
    };

    useEffect(() => {
        async function fetchData() {
            const list = await OrganizationService.getAllRecords();
            setList(list);
            return () => setList([]);
        }
        fetchData();
    }, []);

    return (
        <div style={{ padding: 16 }}>
            <Table dataSource={list} columns={columns} rowKey="id" />
            <Button type="primary" onClick={createRecordHandler}>
                Создать
            </Button>

<Modal
    title={currentRecord ? "Обновить организацию" : "Создать организацию"}
    visible={visible}
    onOk={handleOk}
    onCancel={handleCancel}
>
    <Form layout="vertical">
        <Form.Item label="Название">
            <Input
                value={currentRecord ? currentRecord.title : ''}
                onChange={(e) => setCurrentRecord({ ...currentRecord, title: e.target.value })}
            />
        </Form.Item>
        <Form.Item label="ИНН">
            <Input
                value={currentRecord ? currentRecord.inn : ''}
                onChange={(e) => setCurrentRecord({ ...currentRecord, inn: e.target.value })}
            />
        </Form.Item>
    </Form>
</Modal>
        </div>
    );
};
```