// GET api/values
        public HttpResponseMessage Get()
        {
            if (HttpContext.Current.Application["products"] == null)
            {
                var z         = new ListService();
                var y         = z.GetAllListItems();
                var listItems = new List <ListItem>();
                listItems.AddRange(new[] {
                    new ListItem {
                        id       = 0,
                        name     = "Coca-Cola",
                        category = "Drank",
                        listed   = false,
                        bought   = true,
                        boughtOn = DateTime.MinValue,
                        comment  = ""
                    },
                    new ListItem {
                        id       = 1,
                        name     = "Cola Zero",
                        category = "Drank",
                        listed   = true,
                        bought   = true,
                        boughtOn = DateTime.MinValue,
                        comment  = ""
                    },
                    new ListItem {
                        id       = 2,
                        name     = "Appels",
                        category = "Fruit en Groenten",
                        listed   = true,
                        bought   = true,
                        boughtOn = DateTime.MinValue,
                        comment  = "Pink ladies"
                    },
                    new ListItem {
                        id       = 3,
                        name     = "Yoghurt",
                        category = "Zuivel",
                        listed   = true,
                        bought   = true,
                        boughtOn = DateTime.MinValue,
                        comment  = ""
                    },
                    new ListItem {
                        id       = 4,
                        name     = "Danio",
                        category = "Zuivel",
                        listed   = true,
                        bought   = true,
                        boughtOn = DateTime.MinValue,
                        comment  = ""
                    }
                }
                                   );
                HttpContext.Current.Application["products"] = listItems;
            }


            //return products;//new string[] { "value1", "value2" };
            return(this.Request.CreateResponse(
                       HttpStatusCode.OK, HttpContext.Current.Application["products"]));
        }