diff options
author | crupest <crupest@outlook.com> | 2020-03-13 18:03:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-13 18:03:29 +0800 |
commit | 1af4f51abcd09be68bc0e2ad77b163569a50a6b3 (patch) | |
tree | 23167ac72ad2a0a878eacbfec7fdd9b8b4a81c55 /Timeline/Models | |
parent | 671590b071cccfb889e68c3f74581fcf15a02921 (diff) | |
download | timeline-1af4f51abcd09be68bc0e2ad77b163569a50a6b3.tar.gz timeline-1af4f51abcd09be68bc0e2ad77b163569a50a6b3.tar.bz2 timeline-1af4f51abcd09be68bc0e2ad77b163569a50a6b3.zip |
Clean code.
Diffstat (limited to 'Timeline/Models')
-rw-r--r-- | Timeline/Models/Http/UserController.cs | 1 | ||||
-rw-r--r-- | Timeline/Models/Validation/Validator.cs | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/Timeline/Models/Http/UserController.cs b/Timeline/Models/Http/UserController.cs index e4c95cbd..5ee02a95 100644 --- a/Timeline/Models/Http/UserController.cs +++ b/Timeline/Models/Http/UserController.cs @@ -1,7 +1,6 @@ using AutoMapper;
using System.ComponentModel.DataAnnotations;
using Timeline.Models.Validation;
-using Timeline.Services;
namespace Timeline.Models.Http
{
diff --git a/Timeline/Models/Validation/Validator.cs b/Timeline/Models/Validation/Validator.cs index ead7dbef..db139448 100644 --- a/Timeline/Models/Validation/Validator.cs +++ b/Timeline/Models/Validation/Validator.cs @@ -1,8 +1,5 @@ -using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.Localization;
-using System;
+using System;
using System.ComponentModel.DataAnnotations;
-using Timeline.Helpers;
using static Timeline.Resources.Models.Validation.Validator;
namespace Timeline.Models.Validation
|