예제 #1
0
        public async Task <ActionResult <Envelope <IEnumerable <Customer> > > > GetItems()
        {
            var list = await qry.GetAllAsync();

            var e = new Envelope <IEnumerable <Customer> >(list, (int)HttpStatusCode.OK);

            return(Ok(e));
        }