// // InboundAccountsService.swift // GME Remit // // Created by InKwon James Kim on 2019/11/12. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. // import Foundation class InboundAccountsService: InboundAccountsServiceType { func fetchAccounts( success: @escaping ([InboundAccount]) -> Void, failure: @escaping (Error) -> Void ) { APIRouter.fetchInboundAccounts.json(success: success, failure: failure) } func delete( with account: InboundAccount, success: @escaping (DeleteInbound) -> Void, failure: @escaping (Error) -> Void ) { APIRouter.deleteInboundAccount(model: account).json(success: success, failure: failure) } }