block-employee-directory-in.../EmployeeDirectory/Protocols/EmployeeServiceProtocol.swift
Matt Bruce 0f9515b90b refactored out passing service mode
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
2025-01-21 14:12:07 -06:00

16 lines
342 B
Swift

//
// EmployeeServiceable.swift
// EmployeeDirectory
//
// Created by Matt Bruce on 1/20/25.
//
/// This will be the interface for the API for Employees
public protocol EmployeeServiceProtocol {
/// This will get a list of all employees
/// - Returns: An Employees struct
func getEmployees() async throws -> Employees
}