Browse Source

In the right place

Piotr Czajkowski 5 months ago
parent
commit
6936b05daa
2 changed files with 11 additions and 8 deletions
  1. 9 0
      ProcessFiles/Models/ResultEnum.cs
  2. 2 8
      ProcessFiles/ProcessFiles.cs

+ 9 - 0
ProcessFiles/Models/ResultEnum.cs

@@ -0,0 +1,9 @@
+namespace ProcessFiles.Models
+{
+    public enum Result
+    {
+        File,
+        Directory,
+        Failure
+    }
+}

+ 2 - 8
ProcessFiles/ProcessFiles.cs

@@ -1,17 +1,11 @@
-using System;
+using ProcessFiles.Models;
+using System;
 using System.Collections.Generic;
 using System.IO;
 using System.Linq;
 
 namespace ProcessFiles
 {
-    public enum Result
-    {
-        File,
-        Directory,
-        Failure
-    }
-
     public static class ProcessFiles
     {
         private static List<string> errors = new();