Beispiel #1
0
        public IHttpActionResult GetStoreBasic(string usCode)
        {
            string _USCode = usCode;

            var lsStoreBasicInfo = new List <StoreBasicInfo>();
            var mStoreBasicInfo  = new StoreBasicInfo();

            lsStoreBasicInfo = StoreBasicInfo.Search(o => o.StoreCode.Contains(_USCode)).ToList <StoreBasicInfo>();
            if (lsStoreBasicInfo.Count > 0)
            {
                mStoreBasicInfo = lsStoreBasicInfo[0];
            }

            mStoreBasicInfo.ProjectContractRevision = StoreContractInfo.MappingProjectContractRevision(usCode);

            return(Ok(mStoreBasicInfo));
        }
 public void MappingProjectContractRevisionTest()
 {
     var revision = StoreContractInfo.MappingProjectContractRevision("1960005");
 }