예제 #1
0
        public IHttpActionResult UpdateUserAccount(Guid userId, UpdateUserAccountCommand command)
        {
            if (command == null)
            {
                throw new ArgumentNullException("command");
            }

            AccountType type = ParseAccountType(command.Type);

            identityManagementService.UpdateExternalUserAccount(userId, type, command.Name);
            return(Ok());
        }