예제 #1
0
        public async Task <List <BookInfo> > BookInfoListRetrieve(string sTitle)
        {
            EnsureServiceConnection();
            USR_BookInfoList usrdl = await m_api.GetBookScanInfosFromTitle(sTitle);

            if (usrdl.Result == false || usrdl.TheValue == null)
            {
                return(null);
            }

            List <BookInfo> bkiList = new List <BookInfo>(usrdl.TheValue);

            if (bkiList.Count == 0)
            {
                return(null);
            }

            return(bkiList);
        }