Beispiel #1
0
        public void Execute()
        {
            string fileLocation = FileStorage.CreateFile();

            WarningLocation warningLocation = _warningsController.GetSelectedWarning();

            File.WriteAllText($"{fileLocation}Warnings.json", JsonConvert.SerializeObject(warningLocation.GetWarnings()));
        }
 public void Execute()
 {
     _warningsController.GetSelectedWarning().LoadWarnings();
 }