public IActionResult AddCustomer(Customer customer)
 {
     if (!ModelState.IsValid)
     {
         return(BadRequest(ModelState));
     }
     databaseContext.AddCustomer(customer);
     _logger.LogInformation("Customer added");
     return(Ok(customer.Id));
 }