Ejemplo n.º 1
0
        public IHttpActionResult DeleteRestaurantReviews(int restaurantReviewApiId)
        {
            var restaurantReviewsV1Manager = new RestaurantReviewsV1Manager();

            bool             success;
            ResponseBllModel responseBllModel = restaurantReviewsV1Manager.DeleteRestaurantReview(restaurantReviewApiId, out success);

            if (responseBllModel.Result == ResultEnum.Success)
            {
                return(Ok(success));
            }
            else
            {
                return(GetResponseApiActionResult(responseBllModel));
            }
        }