package com.bcxin.tenant.domain.services;

import com.bcxin.tenant.domain.services.commands.contracts.*;
import com.bcxin.tenant.domain.services.commands.contracts.results.BatchImportContractCommandResult;

public interface ContractService {
    void dispatch(CreateContractCommand command);

    void dispatch(UpdateContractCommand command);

    void dispatch(DeleteContractCommand command);

    void dispatch(BatchDeleteContractCommand command);

    BatchImportContractCommandResult dispatch(BatchImportContractCommand command);
}
