//инициализация
        public CommentImageQueries(IFileStorage fileStorage, IImageSettingsFactory settingsFactory)
            : base(fileStorage, null)
        {
            Settings = settingsFactory.GetSettings(Constants.IMAGE_SETTINGS_NAME_COMMENT);

            foreach (ImageTargetParameters item in Settings.Targets)
            {
                item.PathCreator.UrlBase = fileStorage.GetBaseUrl();
            }
        }
        public AvatarImageQueries(IFileStorage fileStorage, AvatarImageSettings settings)
            : base(fileStorage, settings)
        {
            Settings = settings;

            foreach (ImageTargetParameters item in settings.Targets)
            {
                item.PathCreator.UrlBase = fileStorage.GetBaseUrl();
            }
        }