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.
 
 
 

25 lines
664 B

using Common;
using Repository.Utility;
namespace Business.Utility
{
public class UtilityBusiness : IUtilityBusiness
{
private readonly IUtilityRepository _repo;
public UtilityBusiness(IUtilityRepository repository)
{
_repo = repository;
}
public JsonRxResponse GetKoreanBanks()
{
var ls = this._repo.GetKoreanBanks();
if (ls.Count > 0)
{
return new JsonRxResponse { ErrorCode = "0", Msg = "Success", Data = ls };
}
return new JsonRxResponse { ErrorCode = "1", Msg = "Could not get the banks." };
}
}
}