public void TestGetIsserByComCode() { ZCXRepository target = new ZCXRepository(); var actual = target.GetIsserByComCode(200035802); Console.WriteLine(actual.COM_ORGA_FORM); Assert.IsNotNull(actual); }
public NonlistIssuerDetailViewModel(int comCode, ZCXRepository repo) { if (comCode == 0) { ComCode = 0; IsserInfo = null; BondList = null; } else { ComCode = comCode; IsserInfo = repo.GetIsserByComCode(comCode); BondList = repo.GetBondListByComCode(comCode); } }