17 lines
431 B
Swift
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
|
|
}
|