示例#1
0
        public async Task <ActionResult <Quote> > GetLast(Guid equityid)
        {
            Quote mrQuoteList = await qMgr.GetLast(equityid);

            if (mrQuoteList == null)
            {
                return(BadRequest(mrQuoteList));
            }
            return(Ok(mrQuoteList));
        }
        public async Task <ActionResult <Quote> > GetLast(Guid equityid)
        {
            ManagerResult <Quote> mrQuoteList = await qMgr.GetLast(equityid);

            if (!mrQuoteList.Success)
            {
                return(BadRequest(mrQuoteList));
            }
            return(Ok(mrQuoteList.Entity));
        }