// GET: api/Order
       
        
        public IEnumerable<spGetAllOrders_Result> GetOrders([FromBody]string token)
        {
          
            IEnumerable<spGetAllOrders_Result> result = null;
            using (TestDBEntities1 context = new TestDBEntities1())
            {
                //  result = context.spCreateOrder(token, time, orderAddress,returnVal:d).ToString();
                result = context.spGetAllOrders().ToArray();//< OrderInfoModel>();

                
               
            }


            return result;

            
        }