AutoCat/AutoCatCore/Services/VehicleService/VehicleServiceProtocol.swift
2025-02-09 18:38:35 +03:00

18 lines
460 B
Swift

//
// VehicleServiceProtocol.swift
// AutoCatCore
//
// Created by Selim Mustafaev on 19.01.2025.
// Copyright © 2025 Selim Mustafaev. All rights reserved.
//
import Mockable
@Mockable
public protocol VehicleServiceProtocol: Sendable {
func check(number: String) async throws -> VehicleWithErrors
func updateHistory(number: String) async throws -> VehicleWithErrors
func updateSearch(number: String) async throws -> VehicleWithErrors
}