Exemplo n.º 1
0
        public HttpResponseMessage GetAllDishes()
        {
            List <Dish> dishList = dishRepository.GetAll().ToList();

            return(Request.CreateResponse <List <Dish> >(HttpStatusCode.OK, dishList));
        }