public void SaveSettings(SiteSettingsBase settings)
        {
            var methodInfo    = GetType().GetMethods().First(x => (x.Name == "SaveSettings") && x.IsGenericMethod);
            var genericMethod = methodInfo.MakeGenericMethod(settings.GetType());

            genericMethod.Invoke(this, new object[] { settings });
        }
        public void MarkAsMigrated(SiteSettingsBase siteSettings)
        {
            string fileLocation = GetFileLocation(siteSettings.GetType());

            File.Move(fileLocation, GetMigratedFileLocation(siteSettings.GetType()));
        }