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

  1. //
  2. // TablePresenterService.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon Devik Kim on 26/06/2019.
  6. //Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import Foundation
  9. class TablePresenterService: TablePresenterServiceType {
  10. func fetchBranches(
  11. countryCode: String,
  12. bankID: String,
  13. branchName: String = "",
  14. success: @escaping ([SendMoneyBankBranch]) -> Void,
  15. failure: @escaping (Error) -> Void
  16. ) {
  17. APIRouter.fetchBranches(countryCode: countryCode, bankID: bankID, branchName: branchName)
  18. .json(success: success, failure: failure)
  19. }
  20. }