public HttpResponseMessage GetAllDishes() { List <Dish> dishList = dishRepository.GetAll().ToList(); return(Request.CreateResponse <List <Dish> >(HttpStatusCode.OK, dishList)); }