package com.bcxin.api.interfaces.tenants;

import com.bcxin.api.interfaces.tenants.requests.organizationType.OrganizationTypeCreateRequest;
import com.bcxin.api.interfaces.tenants.requests.organizationType.OrganizationTypeUpdateRequest;
import com.bcxin.api.interfaces.tenants.responses.OrganizationTypeResponse;
import org.springframework.stereotype.Component;

import java.util.Collection;

@Component
public interface OrganizationTypeRpcProvider {

    void create(OrganizationTypeCreateRequest request);

    void delete(long id);
    void update(OrganizationTypeUpdateRequest request);

    OrganizationTypeResponse findById(long id);

    Collection<OrganizationTypeResponse> findByOrganizationId(String organizationId);






}
