Ejemplo n.º 1
0
        public IHttpActionResult Get([FromUri] RatingSearchParams spaceID)
        {
            var response = _service.GetAllRatings(spaceID);

            if (response == null)
            {
                return(NotFound());
            }
            return(Ok(response));
        }
Ejemplo n.º 2
0
 public IEnumerable <Rating> GetAllRatings()
 {
     return(ratingService.GetAllRatings());
 }