Beispiel #1
0
        public async Task <ActionResult <NewRating> > Rate([FromRoute(Name = "id")] Guid restaurantId, RatingRequest rating)
        {
            var result = await ratingsService.RateAsync(restaurantId, rating);

            return(result);
        }