public async Task <IActionResult> Create([FromBody] Buyer buyer)
        {
            if (buyer == null)
            {
                return(BadRequest());
            }

            if (buyer.LastName == null || buyer.FirstName == null || buyer.Email == null)
            {
                return(BadRequest());
            }

            Buyer added = await buyerRepository.CreateAsync(buyer);

            return(CreatedAtRoute("GetBuyer", new { id = added.Id }, buyer));
        }