From f24632b080f8b7d3f35e8288ef4ac25e025fe470 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Tue, 6 Dec 2016 11:04:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=8D=E7=94=A8=E7=9A=84Qu?= =?UTF-8?q?eryData=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Bootstrap.Admin.csproj | 1 - Bootstrap.Admin/Controllers/DictsController.cs | 1 + Bootstrap.Admin/Controllers/ExceptionsController.cs | 1 + Bootstrap.Admin/Controllers/GroupsController.cs | 1 + Bootstrap.Admin/Controllers/LogsController.cs | 1 + Bootstrap.Admin/Controllers/MenusController.cs | 2 +- Bootstrap.Admin/Controllers/RolesController.cs | 1 + Bootstrap.Admin/Controllers/UsersController.cs | 1 + Bootstrap.Admin/Models/QueryData.cs | 11 ----------- 9 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 Bootstrap.Admin/Models/QueryData.cs diff --git a/Bootstrap.Admin/Bootstrap.Admin.csproj b/Bootstrap.Admin/Bootstrap.Admin.csproj index 1d837a3e..19d5fe2e 100644 --- a/Bootstrap.Admin/Bootstrap.Admin.csproj +++ b/Bootstrap.Admin/Bootstrap.Admin.csproj @@ -274,7 +274,6 @@ - diff --git a/Bootstrap.Admin/Controllers/DictsController.cs b/Bootstrap.Admin/Controllers/DictsController.cs index eb62cd8d..8adc909c 100644 --- a/Bootstrap.Admin/Controllers/DictsController.cs +++ b/Bootstrap.Admin/Controllers/DictsController.cs @@ -1,6 +1,7 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; using Longbow.Security.Principal; +using Longbow.Web.Mvc; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Linq; diff --git a/Bootstrap.Admin/Controllers/ExceptionsController.cs b/Bootstrap.Admin/Controllers/ExceptionsController.cs index e883353b..8ffe2f1e 100644 --- a/Bootstrap.Admin/Controllers/ExceptionsController.cs +++ b/Bootstrap.Admin/Controllers/ExceptionsController.cs @@ -1,5 +1,6 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; +using Longbow.Web.Mvc; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/Bootstrap.Admin/Controllers/GroupsController.cs b/Bootstrap.Admin/Controllers/GroupsController.cs index 298c9d47..4cfea49c 100644 --- a/Bootstrap.Admin/Controllers/GroupsController.cs +++ b/Bootstrap.Admin/Controllers/GroupsController.cs @@ -1,5 +1,6 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; +using Longbow.Web.Mvc; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Linq; diff --git a/Bootstrap.Admin/Controllers/LogsController.cs b/Bootstrap.Admin/Controllers/LogsController.cs index 76eb8b84..49933cf1 100644 --- a/Bootstrap.Admin/Controllers/LogsController.cs +++ b/Bootstrap.Admin/Controllers/LogsController.cs @@ -1,5 +1,6 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; +using Longbow.Web.Mvc; using System.Linq; using System.Web; using System.Web.Http; diff --git a/Bootstrap.Admin/Controllers/MenusController.cs b/Bootstrap.Admin/Controllers/MenusController.cs index ca79f3f9..8cc392aa 100644 --- a/Bootstrap.Admin/Controllers/MenusController.cs +++ b/Bootstrap.Admin/Controllers/MenusController.cs @@ -1,6 +1,6 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; -using Longbow.Security.Principal; +using Longbow.Web.Mvc; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Linq; diff --git a/Bootstrap.Admin/Controllers/RolesController.cs b/Bootstrap.Admin/Controllers/RolesController.cs index 49a79518..63e635fc 100644 --- a/Bootstrap.Admin/Controllers/RolesController.cs +++ b/Bootstrap.Admin/Controllers/RolesController.cs @@ -1,5 +1,6 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; +using Longbow.Web.Mvc; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Linq; diff --git a/Bootstrap.Admin/Controllers/UsersController.cs b/Bootstrap.Admin/Controllers/UsersController.cs index 0b26d72b..e656511c 100644 --- a/Bootstrap.Admin/Controllers/UsersController.cs +++ b/Bootstrap.Admin/Controllers/UsersController.cs @@ -1,6 +1,7 @@ using Bootstrap.Admin.Models; using Bootstrap.DataAccess; using Longbow.Security.Principal; +using Longbow.Web.Mvc; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Linq; diff --git a/Bootstrap.Admin/Models/QueryData.cs b/Bootstrap.Admin/Models/QueryData.cs deleted file mode 100644 index 3df3b64b..00000000 --- a/Bootstrap.Admin/Models/QueryData.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System.Collections.Generic; - -namespace Bootstrap.Admin.Models -{ - public class QueryData where T : class - { - public int total { get; set; } - - public IEnumerable rows { get; set; } - } -} \ No newline at end of file