public IActionResult Create(Buyer buyer) { var create = _buyerRepository.Create(buyer); if (create > 0) { return(Ok(create)); } return(BadRequest("Can't be created")); }