public IActionResult Delete(int id)
        {
            var databaseResponse = DatabaseResponse.None;

            databaseResponse = _businessLayer.DeleteAddress(id);
            var response = new ContentResult();

            switch (databaseResponse)
            {
            case DatabaseResponse.None:
                response.StatusCode = StatusCodes.Status500InternalServerError;
                return(response);

            case DatabaseResponse.Success:
                return(Ok());

            case DatabaseResponse.CannotDelete:
                response.StatusCode = StatusCodes.Status409Conflict;
                response.Content    = "Cannot delete address";
                return(response);

            default:
                response.StatusCode = StatusCodes.Status500InternalServerError;
                return(response);
            }
        }