public CaptureSettings(CaptureSettingsViewModel model)
            : this()
        {
            if(model.HashTag == null)
            {
                model.HashTag = string.Empty;
            }

            this.HashTag = model.HashTag;
            this.Culture = model.Culture;

            foreach(var row in model.SettingsRow)
            {
                if(string.IsNullOrWhiteSpace(row.Key))
                {
                    throw new ArgumentException("Key cannot be empty");
                }
                if(string.IsNullOrWhiteSpace(row.Values))
                {
                    throw new ArgumentException("Values field cannot be empty");
                }

                var keywords = row.Values.Split(';').ToList();

                this.CompareKeys.Add(row.Key, keywords);
            }
        }
 public void UpdateCaptureSettings(CaptureSettingsViewModel settingsModel)
 {
     var settings = new CaptureSettings(settingsModel);
     this.Session.UpdateCaptureSettings(settings);
 }