diff options
author | crupest <crupest@outlook.com> | 2021-04-27 19:42:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-27 19:42:06 +0800 |
commit | 414d547753f9d7b534b3a4dbc618b5284aaa1a87 (patch) | |
tree | e2940d0c3fb5b57f268d1198e2b0ce8d07fe0a54 /BackEnd | |
parent | ac309245d21f16c06abe2d1d9bb260e094d0805e (diff) | |
download | timeline-414d547753f9d7b534b3a4dbc618b5284aaa1a87.tar.gz timeline-414d547753f9d7b534b3a4dbc618b5284aaa1a87.tar.bz2 timeline-414d547753f9d7b534b3a4dbc618b5284aaa1a87.zip |
chore: Clean codes.
Diffstat (limited to 'BackEnd')
4 files changed, 2 insertions, 9 deletions
diff --git a/BackEnd/Timeline/Controllers/UserAvatarController.cs b/BackEnd/Timeline/Controllers/UserAvatarController.cs index 5d4c70f3..7d455fc6 100644 --- a/BackEnd/Timeline/Controllers/UserAvatarController.cs +++ b/BackEnd/Timeline/Controllers/UserAvatarController.cs @@ -12,6 +12,7 @@ using Timeline.Models.Http; using Timeline.Models.Validation;
using Timeline.Services.Imaging;
using Timeline.Services.User;
+using Timeline.Services.User.Avatar;
using static Timeline.Resources.Controllers.UserAvatarController;
namespace Timeline.Controllers
diff --git a/BackEnd/Timeline/Services/BasicServicesServiceCollectionExtensions.cs b/BackEnd/Timeline/Services/BasicServicesServiceCollectionExtensions.cs index e9221fef..d64f5c99 100644 --- a/BackEnd/Timeline/Services/BasicServicesServiceCollectionExtensions.cs +++ b/BackEnd/Timeline/Services/BasicServicesServiceCollectionExtensions.cs @@ -1,9 +1,5 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
namespace Timeline.Services
{
diff --git a/BackEnd/Timeline/Services/User/PasswordService.cs b/BackEnd/Timeline/Services/User/PasswordService.cs index 5c2062dd..fc097492 100644 --- a/BackEnd/Timeline/Services/User/PasswordService.cs +++ b/BackEnd/Timeline/Services/User/PasswordService.cs @@ -18,7 +18,7 @@ namespace Timeline.Services.User public HashedPasswordBadFromatException(string message) : base(message) { }
public HashedPasswordBadFromatException(string message, Exception inner) : base(message, inner) { }
- public HashedPasswordBadFromatException(string hashedPassword, string reason, Exception? inner = null)
+ public HashedPasswordBadFromatException(string hashedPassword, string reason, Exception? inner = null)
: base(string.Format(CultureInfo.CurrentCulture, Resource.ExceptionHashedPasswordBadFormat, reason), inner) { HashedPassword = hashedPassword; }
protected HashedPasswordBadFromatException(
System.Runtime.Serialization.SerializationInfo info,
diff --git a/BackEnd/Timeline/Services/User/UserServicesServiceCollectionExtensions.cs b/BackEnd/Timeline/Services/User/UserServicesServiceCollectionExtensions.cs index 6320b608..a5a743df 100644 --- a/BackEnd/Timeline/Services/User/UserServicesServiceCollectionExtensions.cs +++ b/BackEnd/Timeline/Services/User/UserServicesServiceCollectionExtensions.cs @@ -1,9 +1,5 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
using Timeline.Services.User.Avatar;
namespace Timeline.Services.User
|