public IActionResult Create([FromBody] Offer offer) { if (OfferRepository.Create(offer)) { return(Ok(offer.OfferId)); } // todo ADD XD return(BadRequest()); }