diff --git a/Controllers/AdminController.cs b/Controllers/AdminController.cs index ff10876..b4bdefe 100644 --- a/Controllers/AdminController.cs +++ b/Controllers/AdminController.cs @@ -3,8 +3,6 @@ using CarCareTracker.Logic; using CarCareTracker.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using System.Net; -using System.Net.Mail; namespace CarCareTracker.Controllers { diff --git a/Controllers/FilesController.cs b/Controllers/FilesController.cs index 2d9e8f7..9e0be02 100644 --- a/Controllers/FilesController.cs +++ b/Controllers/FilesController.cs @@ -1,12 +1,5 @@ -using CarCareTracker.External.Interfaces; using CarCareTracker.Models; -using LiteDB; using Microsoft.AspNetCore.Mvc; -using System.Diagnostics; -using static System.Net.Mime.MediaTypeNames; -using System.Drawing; -using System.Linq.Expressions; -using Microsoft.Extensions.Logging; using CarCareTracker.Helper; using Microsoft.AspNetCore.Authorization; diff --git a/Controllers/LoginController.cs b/Controllers/LoginController.cs index 87c814d..452a815 100644 --- a/Controllers/LoginController.cs +++ b/Controllers/LoginController.cs @@ -4,11 +4,7 @@ using CarCareTracker.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Mvc; -using Microsoft.IdentityModel.Tokens; using System.IdentityModel.Tokens.Jwt; -using System.Net; -using System.Security.Cryptography; -using System.Text; using System.Text.Json; namespace CarCareTracker.Controllers diff --git a/Controllers/MigrationController.cs b/Controllers/MigrationController.cs index b97f39d..2e2d9d0 100644 --- a/Controllers/MigrationController.cs +++ b/Controllers/MigrationController.cs @@ -1,13 +1,10 @@ -using CarCareTracker.External.Implementations; -using CarCareTracker.Helper; +using CarCareTracker.Helper; using CarCareTracker.Models; using LiteDB; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Npgsql; -using System.Data.Common; using System.IO.Compression; -using System.Xml.Linq; namespace CarCareTracker.Controllers { diff --git a/Helper/StaticHelper.cs b/Helper/StaticHelper.cs index 047c9b2..098b4dc 100644 --- a/Helper/StaticHelper.cs +++ b/Helper/StaticHelper.cs @@ -1,6 +1,5 @@ using CarCareTracker.Models; using System.Globalization; -using System.Linq; namespace CarCareTracker.Helper { diff --git a/Helper/TranslationHelper.cs b/Helper/TranslationHelper.cs index 3fd28da..4e9b0a6 100644 --- a/Helper/TranslationHelper.cs +++ b/Helper/TranslationHelper.cs @@ -1,5 +1,4 @@ -using CarCareTracker.Models; -using Microsoft.Extensions.Caching.Memory; +using Microsoft.Extensions.Caching.Memory; using System.Text.Json; namespace CarCareTracker.Helper diff --git a/Logic/LoginLogic.cs b/Logic/LoginLogic.cs index 6449f6d..aaf8ede 100644 --- a/Logic/LoginLogic.cs +++ b/Logic/LoginLogic.cs @@ -2,8 +2,6 @@ using CarCareTracker.Helper; using CarCareTracker.Models; using Microsoft.Extensions.Caching.Memory; -using System.Net; -using System.Net.Mail; using System.Security.Cryptography; using System.Text; using System.Text.Json; diff --git a/Logic/UserLogic.cs b/Logic/UserLogic.cs index 2271752..0d908bf 100644 --- a/Logic/UserLogic.cs +++ b/Logic/UserLogic.cs @@ -1,7 +1,6 @@ using CarCareTracker.External.Interfaces; using CarCareTracker.Helper; using CarCareTracker.Models; -using Microsoft.AspNetCore.Mvc.Formatters; namespace CarCareTracker.Logic { diff --git a/Middleware/Authen.cs b/Middleware/Authen.cs index 56a3e1f..802464e 100644 --- a/Middleware/Authen.cs +++ b/Middleware/Authen.cs @@ -1,9 +1,7 @@ using CarCareTracker.Logic; using CarCareTracker.Models; using Microsoft.AspNetCore.Authentication; -using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.DataProtection; -using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Options; using System.Security.Claims; using System.Text.Encodings.Web; diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index a2aab27..7879c72 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -24,11 +24,11 @@ @if(config.GetServerEnableShopSupplies()) {