public ProfileConverter(ProfileListView profileListView, string index)
        {
            var profile = JsonSerializer.Deserialize <List <Profile> >(profileListView.Profile);

            this.repository      = new ProfileRepository(profile);
            this.profileListView = profileListView;
            if (Int32.TryParse(index.Replace("I", ""), out this.index.Item1))
            {
                this.index.Item2 = index;
                if (this.index.Item1 >= 1 && this.index.Item1 <= 8)
                {
                    connector = new BaseConnectorProfile();
                }
                else
                {
                    connector = new ConnectorProfile();
                }
            }
        }
 public ResultIndex(ProfileRepository repository, IConnectorProfile connector, string index) : base(repository)
 {
     this.connector = connector.MakeConnect();
     this.index     = index;
 }