From af4744a2a7fd8d51020dd4275a580cb2cb5c95a5 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Mon, 31 Oct 2016 17:10:59 -0700 Subject: [PATCH] =?UTF-8?q?=E5=91=BD=E5=90=8D=E7=A9=BA=E9=97=B4=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96=EF=BC=8CRemove=20and=20Sort=20namespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Controllers/MenusController.cs | 3 --- Bootstrap.Admin/Controllers/RolesController.cs | 8 ++++---- Bootstrap.Admin/Controllers/UsersController.cs | 6 +++--- Bootstrap.Admin/Global.asax.cs | 2 +- Bootstrap.Admin/Models/QueryMenuOption.cs | 3 --- Bootstrap.DataAccess/Menu.cs | 3 +-- Bootstrap.DataAccessTests/DictHelperTests.cs | 4 ++-- Bootstrap.DataAccessTests/GroupHelperTests.cs | 4 ++-- Bootstrap.DataAccessTests/LogHelperTests.cs | 4 ++-- 9 files changed, 15 insertions(+), 22 deletions(-) diff --git a/Bootstrap.Admin/Controllers/MenusController.cs b/Bootstrap.Admin/Controllers/MenusController.cs index 9be065c9..e0071d44 100644 --- a/Bootstrap.Admin/Controllers/MenusController.cs +++ b/Bootstrap.Admin/Controllers/MenusController.cs @@ -1,9 +1,6 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; -using System; -using System.Collections.Generic; using System.Linq; -using System.Web; using System.Web.Http; namespace Bootstrap.Admin.Controllers diff --git a/Bootstrap.Admin/Controllers/RolesController.cs b/Bootstrap.Admin/Controllers/RolesController.cs index 8440fe36..49a79518 100644 --- a/Bootstrap.Admin/Controllers/RolesController.cs +++ b/Bootstrap.Admin/Controllers/RolesController.cs @@ -1,9 +1,9 @@ -using System.Collections.Generic; -using System.Linq; -using System.Web.Http; -using Bootstrap.Admin.Models; +using Bootstrap.Admin.Models; using Bootstrap.DataAccess; using Newtonsoft.Json.Linq; +using System.Collections.Generic; +using System.Linq; +using System.Web.Http; namespace Bootstrap.Admin.Controllers diff --git a/Bootstrap.Admin/Controllers/UsersController.cs b/Bootstrap.Admin/Controllers/UsersController.cs index c29bf872..df0ac8fd 100644 --- a/Bootstrap.Admin/Controllers/UsersController.cs +++ b/Bootstrap.Admin/Controllers/UsersController.cs @@ -1,9 +1,9 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; -using System.Web.Http; -using System.Linq; -using System.Collections.Generic; using Newtonsoft.Json.Linq; +using System.Collections.Generic; +using System.Linq; +using System.Web.Http; namespace Bootstrap.Admin.Controllers { diff --git a/Bootstrap.Admin/Global.asax.cs b/Bootstrap.Admin/Global.asax.cs index f99c3c70..1d48cd78 100644 --- a/Bootstrap.Admin/Global.asax.cs +++ b/Bootstrap.Admin/Global.asax.cs @@ -1,8 +1,8 @@ using System; using System.Web; +using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; -using System.Web.Http; namespace Bootstrap.Admin { diff --git a/Bootstrap.Admin/Models/QueryMenuOption.cs b/Bootstrap.Admin/Models/QueryMenuOption.cs index 9eb21483..321edea5 100644 --- a/Bootstrap.Admin/Models/QueryMenuOption.cs +++ b/Bootstrap.Admin/Models/QueryMenuOption.cs @@ -1,9 +1,6 @@ using Bootstrap.DataAccess; using Longbow.Web.Mvc; -using System; -using System.Collections.Generic; using System.Linq; -using System.Web; namespace Bootstrap.Admin.Models { diff --git a/Bootstrap.DataAccess/Menu.cs b/Bootstrap.DataAccess/Menu.cs index fe02fe49..8cf4d6d3 100644 --- a/Bootstrap.DataAccess/Menu.cs +++ b/Bootstrap.DataAccess/Menu.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; - + namespace Bootstrap.DataAccess { /// diff --git a/Bootstrap.DataAccessTests/DictHelperTests.cs b/Bootstrap.DataAccessTests/DictHelperTests.cs index 93783d09..0a7507c6 100644 --- a/Bootstrap.DataAccessTests/DictHelperTests.cs +++ b/Bootstrap.DataAccessTests/DictHelperTests.cs @@ -1,5 +1,5 @@ -using System.Linq; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System.Linq; namespace Bootstrap.DataAccess.Tests { diff --git a/Bootstrap.DataAccessTests/GroupHelperTests.cs b/Bootstrap.DataAccessTests/GroupHelperTests.cs index 42cffb06..74df9d74 100644 --- a/Bootstrap.DataAccessTests/GroupHelperTests.cs +++ b/Bootstrap.DataAccessTests/GroupHelperTests.cs @@ -1,5 +1,5 @@ -using System.Linq; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System.Linq; namespace Bootstrap.DataAccess.Tests { diff --git a/Bootstrap.DataAccessTests/LogHelperTests.cs b/Bootstrap.DataAccessTests/LogHelperTests.cs index 54abd1bd..6f4ee3b2 100644 --- a/Bootstrap.DataAccessTests/LogHelperTests.cs +++ b/Bootstrap.DataAccessTests/LogHelperTests.cs @@ -1,5 +1,5 @@ -using System.Linq; -using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System.Linq; namespace Bootstrap.DataAccess.Tests {