You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
594 B
22 lines
594 B
//
|
|
// TablePresenterService.swift
|
|
// GME Remit
|
|
//
|
|
// Created by InKwon Devik Kim on 26/06/2019.
|
|
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class TablePresenterService: TablePresenterServiceType {
|
|
func fetchBranches(
|
|
countryCode: String,
|
|
bankID: String,
|
|
branchName: String = "",
|
|
success: @escaping ([SendMoneyBankBranch]) -> Void,
|
|
failure: @escaping (Error) -> Void
|
|
) {
|
|
APIRouter.fetchBranches(countryCode: countryCode, bankID: bankID, branchName: branchName)
|
|
.json(success: success, failure: failure)
|
|
}
|
|
}
|