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.
|
|
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<Koreanbank> 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<Koreanbank>(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 ""; } } }
|