public void GetUserIdAndInsertMember( string name, Guid userId ) { var m = new Member { Name = name, Surname = string.Empty, UserID = userId }; var teamService = new TeamService(); teamService.InsertMember( m ); }