public async Task <IActionResult> CreateAdmin()
        {
            var request = new CreateEmployeeOperationRequest
            {
                Email        = "*****@*****.**",
                Password     = "******",
                ManagerEmail = null,
                FirstName    = "Alan",
                LastName     = "Turing",
                ImageData    = ""
            };

            try
            {
                await _createEmployeeOperation.Execute(request);
            }
            catch
            {
                return(Conflict(new { Error = "Admin already created" }));
            }

            return(Ok());
        }
        public async Task <RegisterUserOperationResponse> Execute(RegisterUserOperationRequest request)
        {
            var invitation = await _invitationRepository.GetWithInviterAsync(request.InviteId)
                             ?? throw new InvitationDoesNotExistException(request.InviteId);

            var response = await _createEmployeeOperation.Execute(new CreateEmployeeOperationRequest
            {
                Email        = invitation.InvitationTo,
                ManagerEmail = invitation.InvitationFrom.Email,
                FirstName    = invitation.FirstName,
                LastName     = invitation.LastName,
                Role         = invitation.Role,
                Password     = request.Password,
                ImageData    = request.ImageData
            });

            var deleteInvitationsRequest = new DeleteInvitationsForEmailOperationRequest
            {
                Email = invitation.InvitationTo
            };
            await _deleteInvitationsForEmailOperation.Execute(deleteInvitationsRequest);

            return(new RegisterUserOperationResponse());
        }