Пример #1
0
        public IActionResult SearchRestaurantBasedOnRatingOrder()
        {
            IQueryable <RestaurantInformation> restaurantDetails;

            restaurantDetails = business_Repo.GetRestaurantsBasedOnOrderRating();
            if (restaurantDetails != null)
            {
                return(this.Ok(restaurantDetails));
            }
            return(this.StatusCode((int)HttpStatusCode.InternalServerError, string.Empty));
        }