public IHttpActionResult MenuOfRestaurant(string id) { List <Menu> menu = menuDAO.GetMenuByRestaurantId(id); if (menu == null) { return(NotFound()); } return(Ok(menu)); }