Commits

Clément Bourgeois  committed 7280580

Code cleanup

  • Participants
  • Parent commits 1d7efc3

Comments (0)

Files changed (3)

File SQLServerBackupTool.Web/Lib/BackupsManager.cs

-using System.Configuration;
-using Dapper;
+using Dapper;
 using Ionic.Zip;
 using NLog;
 using SQLServerBackupTool.Lib;
 using SQLServerBackupTool.Web.Models;
 using System;
 using System.Collections.Generic;
+using System.Configuration;
 using System.Data.Entity;
 using System.Data.SqlClient;
 using System.IO;

File SQLServerBackupTool.Web/Models/SchemaInfo.cs

             set;
         }
     }
-}
+}

File SQLServerBackupTool.Web/Models/UserDatabase.cs

-using System;
-using System.Collections.Generic;
+using SQLServerBackupTool.Lib.Annotations;
 using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Web;
 
 namespace SQLServerBackupTool.Web.Models
 {
+    [UsedImplicitly]
     public class UserDatabase
     {
         [Key]
-        public int Id { get; set; }
+        public int Id
+        {
+            get;
+            set;
+        }
 
         [MaxLength(50), Required]
-        public string Username { get; set; }
+        public string Username
+        {
+            get;
+            set;
+        }
 
         [MaxLength(50), Required]
-        public string DatabaseName { get; set; }
+        public string DatabaseName
+        {
+            get;
+            set;
+        }
     }
-}
+}