public IActionResult AddCustomer1([FromBody] CustomerDTO customer)
        {
            try
            {
                var customerService = new CustomerBusiness(unitOfWork);
                var addedCustomer   = customerService.AddCustomer1(customer);

                return(Ok(new RequestResult()
                {
                    IsSucceeded = true,
                    Result = addedCustomer,
                    Message = "Customer successfully added"
                }));
            }
            catch (InvalidObjectException exception)
            {
                return(BadRequest(new RequestResult()
                {
                    IsSucceeded = false,
                    Result = exception.InvalidObject,
                    Message = $"Could not add '{exception.ObjectName}'.",
                    ErrorMessages = exception.ErrorMessages
                }));
            }
            catch (Exception exception)
            {
                return(BadRequest(new RequestResult()
                {
                    IsSucceeded = false,
                    Result = customer,
                    Message = exception.Message
                }));
            }
        }