added public initializer
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
16bdd05082
commit
532914d357
@ -27,6 +27,8 @@ public enum EmployeeServiceMode {
|
|||||||
/// Service Layer for Employees
|
/// Service Layer for Employees
|
||||||
public class EmployeeService: EmployeeServiceProtocol {
|
public class EmployeeService: EmployeeServiceProtocol {
|
||||||
|
|
||||||
|
public init() {}
|
||||||
|
|
||||||
/// Service to get Employees
|
/// Service to get Employees
|
||||||
/// - Returns: Array of Employee Structs
|
/// - Returns: Array of Employee Structs
|
||||||
public func getEmployees(_ serviceMode: EmployeeServiceMode = .production) async throws -> Employees {
|
public func getEmployees(_ serviceMode: EmployeeServiceMode = .production) async throws -> Employees {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user