using Common; using Common.Helper; using Common.Model; using log4net; using System.Collections.Generic; namespace Repository.Utility { public class UtilityRepository : IUtilityRepository { private readonly Dao _dao; private static readonly ILog Log = LogManager.GetLogger(typeof(UtilityRepository)); public UtilityRepository() { _dao = new Dao(); } public IList GetKoreanBanks() { var sql = "SELECT BankName as Name,bankCode as Code,rowId,IsActive FROM dbo.KoreanBankList(NOLOCK) WHERE ISNULL(IsActive,'') = '1'"; var dt = _dao.ExecuteDataTable(sql); var ls = Mapper.DataTableToClass(dt); return ls; } public JsonRxResponse SaveKeyPair(string clientkey, string serverkey) { //return string should be clientKey:serverkey:timestamp return null; } public string GetKeys(string clientkey, string serverkey, string timestamp) { return ""; } } }