コード例 #1
0
 public object GetCbsCustomerInfo(string accNo, string reqtype)
 {
     try
     {
         var cbsCustomerInfo = _repository.GetCbsCustomerInfo(accNo);
         if (cbsCustomerInfo != null)
         {
             if (reqtype == "m")
             {
                 List <dynamic> aObjects = new List <dynamic>()
                 {
                     cbsCustomerInfo
                 };
                 return(aObjects);
             }
             else
             {
                 return(cbsCustomerInfo);
             }
         }
         else
         {
             return(null);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }