Esempio n. 1
0
        public IActionResult AnalizeOffer([FromBody] FormalizedOffer offer)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var price = offerService.AnalizeOffer(offer).Content;

            return(Ok(price));
        }