diff options
author | crupest <crupest@outlook.com> | 2020-03-10 15:46:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-10 15:46:59 +0800 |
commit | 52c59d7cd949ee6ccc89fbb25231666e1e589fe2 (patch) | |
tree | 65b925263102aa29f4c58b12277e0c1c1368fe1f /Timeline/Controllers | |
parent | d33300f976f3a237195e9de4d691ce1ee4b3d345 (diff) | |
download | timeline-52c59d7cd949ee6ccc89fbb25231666e1e589fe2.tar.gz timeline-52c59d7cd949ee6ccc89fbb25231666e1e589fe2.tar.bz2 timeline-52c59d7cd949ee6ccc89fbb25231666e1e589fe2.zip |
Revert namespace name change.
Diffstat (limited to 'Timeline/Controllers')
-rw-r--r-- | Timeline/Controllers/ControllerAuthExtensions.cs | 6 | ||||
-rw-r--r-- | Timeline/Controllers/PersonalTimelineController.cs | 10 | ||||
-rw-r--r-- | Timeline/Controllers/Testing/TestingAuthController.cs | 4 | ||||
-rw-r--r-- | Timeline/Controllers/TimelineController.cs | 12 | ||||
-rw-r--r-- | Timeline/Controllers/TokenController.cs | 10 | ||||
-rw-r--r-- | Timeline/Controllers/UserAvatarController.cs | 18 | ||||
-rw-r--r-- | Timeline/Controllers/UserController.cs | 16 |
7 files changed, 38 insertions, 38 deletions
diff --git a/Timeline/Controllers/ControllerAuthExtensions.cs b/Timeline/Controllers/ControllerAuthExtensions.cs index 9c7ea601..00a65454 100644 --- a/Timeline/Controllers/ControllerAuthExtensions.cs +++ b/Timeline/Controllers/ControllerAuthExtensions.cs @@ -1,10 +1,10 @@ using Microsoft.AspNetCore.Mvc;
using System;
using System.Security.Claims;
-using TimelineApp.Auth;
-using static TimelineApp.Resources.Controllers.ControllerAuthExtensions;
+using Timeline.Auth;
+using static Timeline.Resources.Controllers.ControllerAuthExtensions;
-namespace TimelineApp.Controllers
+namespace Timeline.Controllers
{
public static class ControllerAuthExtensions
{
diff --git a/Timeline/Controllers/PersonalTimelineController.cs b/Timeline/Controllers/PersonalTimelineController.cs index 0c0694cb..cef04a97 100644 --- a/Timeline/Controllers/PersonalTimelineController.cs +++ b/Timeline/Controllers/PersonalTimelineController.cs @@ -4,12 +4,12 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Threading.Tasks;
-using TimelineApp.Filters;
-using TimelineApp.Models.Http;
-using TimelineApp.Models.Validation;
-using TimelineApp.Services;
+using Timeline.Filters;
+using Timeline.Models.Http;
+using Timeline.Models.Validation;
+using Timeline.Services;
-namespace TimelineApp.Controllers
+namespace Timeline.Controllers
{
[ApiController]
[CatchTimelineNotExistException]
diff --git a/Timeline/Controllers/Testing/TestingAuthController.cs b/Timeline/Controllers/Testing/TestingAuthController.cs index 6061f003..4d3b3ec7 100644 --- a/Timeline/Controllers/Testing/TestingAuthController.cs +++ b/Timeline/Controllers/Testing/TestingAuthController.cs @@ -1,8 +1,8 @@ using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
-using TimelineApp.Auth;
+using Timeline.Auth;
-namespace TimelineApp.Controllers.Testing
+namespace Timeline.Controllers.Testing
{
[Route("testing/auth")]
[ApiController]
diff --git a/Timeline/Controllers/TimelineController.cs b/Timeline/Controllers/TimelineController.cs index e3baff12..25290ca5 100644 --- a/Timeline/Controllers/TimelineController.cs +++ b/Timeline/Controllers/TimelineController.cs @@ -7,13 +7,13 @@ using System; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
-using TimelineApp.Filters;
-using TimelineApp.Models;
-using TimelineApp.Models.Http;
-using TimelineApp.Models.Validation;
-using TimelineApp.Services;
+using Timeline.Filters;
+using Timeline.Models;
+using Timeline.Models.Http;
+using Timeline.Models.Validation;
+using Timeline.Services;
-namespace TimelineApp.Controllers
+namespace Timeline.Controllers
{
[ApiController]
[CatchTimelineNotExistException]
diff --git a/Timeline/Controllers/TokenController.cs b/Timeline/Controllers/TokenController.cs index 47dcc0aa..1fb0b17a 100644 --- a/Timeline/Controllers/TokenController.cs +++ b/Timeline/Controllers/TokenController.cs @@ -5,12 +5,12 @@ using Microsoft.Extensions.Logging; using System;
using System.Globalization;
using System.Threading.Tasks;
-using TimelineApp.Helpers;
-using TimelineApp.Models.Http;
-using TimelineApp.Services;
-using static TimelineApp.Resources.Controllers.TokenController;
+using Timeline.Helpers;
+using Timeline.Models.Http;
+using Timeline.Services;
+using static Timeline.Resources.Controllers.TokenController;
-namespace TimelineApp.Controllers
+namespace Timeline.Controllers
{
[Route("token")]
[ApiController]
diff --git a/Timeline/Controllers/UserAvatarController.cs b/Timeline/Controllers/UserAvatarController.cs index 089cef94..f4f3db3e 100644 --- a/Timeline/Controllers/UserAvatarController.cs +++ b/Timeline/Controllers/UserAvatarController.cs @@ -6,15 +6,15 @@ using Microsoft.Net.Http.Headers; using System;
using System.Linq;
using System.Threading.Tasks;
-using TimelineApp.Auth;
-using TimelineApp.Filters;
-using TimelineApp.Helpers;
-using TimelineApp.Models.Http;
-using TimelineApp.Models.Validation;
-using TimelineApp.Services;
-using static TimelineApp.Resources.Controllers.UserAvatarController;
-
-namespace TimelineApp.Controllers
+using Timeline.Auth;
+using Timeline.Filters;
+using Timeline.Helpers;
+using Timeline.Models.Http;
+using Timeline.Models.Validation;
+using Timeline.Services;
+using static Timeline.Resources.Controllers.UserAvatarController;
+
+namespace Timeline.Controllers
{
[ApiController]
public class UserAvatarController : Controller
diff --git a/Timeline/Controllers/UserController.cs b/Timeline/Controllers/UserController.cs index 4106c750..a3e8d816 100644 --- a/Timeline/Controllers/UserController.cs +++ b/Timeline/Controllers/UserController.cs @@ -5,15 +5,15 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging;
using System.Linq;
using System.Threading.Tasks;
-using TimelineApp.Auth;
-using TimelineApp.Helpers;
-using TimelineApp.Models.Http;
-using TimelineApp.Models.Validation;
-using TimelineApp.Services;
-using static TimelineApp.Resources.Controllers.UserController;
-using static TimelineApp.Resources.Messages;
+using Timeline.Auth;
+using Timeline.Helpers;
+using Timeline.Models.Http;
+using Timeline.Models.Validation;
+using Timeline.Services;
+using static Timeline.Resources.Controllers.UserController;
+using static Timeline.Resources.Messages;
-namespace TimelineApp.Controllers
+namespace Timeline.Controllers
{
[ApiController]
public class UserController : Controller
|