Exemplo n.º 1
0
        public IHttpActionResult Create(CustomerReviewCreateModel model)
        {
            var result = _customerReviewService.CreateCustomerReview(model);

            return(Ok(result));
        }
Exemplo n.º 2
0
        public IHttpActionResult Create([FromBody] CustomerReview customerReview)
        {
            var review = _customerReviewService.CreateCustomerReview(customerReview);

            return(Ok(review));
        }