block-employee-directory-in.../EmployeeDirectory/Protocols/EmployeeServiceProtocol.swift
Matt Bruce f07089a1fc commented the code.
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
2025-01-21 09:12:56 -06:00

17 lines
431 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
/// - Parameter serviceMode: Mode in which to hit.
/// - Returns: An Employees struct
func getEmployees(_ serviceMode: EmployeeServiceMode) async throws -> Employees
}