public IActionResult GetResturantMenuDetail([FromQuery] int RestaurantID) { IQueryable <RestaurantMenu> restaurantMenuDetails; restaurantMenuDetails = business_Repo.GetRestaurantMenus(RestaurantID); if (restaurantMenuDetails != null) { return(this.Ok(restaurantMenuDetails)); } return(this.StatusCode((int)HttpStatusCode.InternalServerError, string.Empty)); }