Refactor: remove unnecessary using directives
Removed unused using statements from page models and test files: - Removed unused Microsoft.EntityFrameworkCore and MoneyMap.Data imports - Removed redundant Xunit usings (already declared as global) Fixes CS8019 and CS8933 hidden diagnostics.
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
using MoneyMap.Tests.TestHelpers;
|
using MoneyMap.Tests.TestHelpers;
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace MoneyMap.Tests.Services;
|
namespace MoneyMap.Tests.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
using MoneyMap.Tests.TestHelpers;
|
using MoneyMap.Tests.TestHelpers;
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace MoneyMap.Tests.Services;
|
namespace MoneyMap.Tests.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
using MoneyMap.Tests.TestHelpers;
|
using MoneyMap.Tests.TestHelpers;
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace MoneyMap.Tests.Services;
|
namespace MoneyMap.Tests.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
using MoneyMap.Tests.TestHelpers;
|
using MoneyMap.Tests.TestHelpers;
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace MoneyMap.Tests.Services;
|
namespace MoneyMap.Tests.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
using MoneyMap.Tests.TestHelpers;
|
using MoneyMap.Tests.TestHelpers;
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace MoneyMap.Tests.Services;
|
namespace MoneyMap.Tests.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
using MoneyMap.Tests.TestHelpers;
|
using MoneyMap.Tests.TestHelpers;
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace MoneyMap.Tests.Services;
|
namespace MoneyMap.Tests.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
using MoneyMap.Tests.TestHelpers;
|
using MoneyMap.Tests.TestHelpers;
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
namespace MoneyMap.Tests.Services;
|
namespace MoneyMap.Tests.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using MoneyMap.Data;
|
|
||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using MoneyMap.Data;
|
|
||||||
using MoneyMap.Models;
|
using MoneyMap.Models;
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using MoneyMap.Data;
|
|
||||||
using MoneyMap.Models;
|
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
|
|
||||||
namespace MoneyMap.Pages
|
namespace MoneyMap.Pages
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
using Microsoft.EntityFrameworkCore;
|
|
||||||
using MoneyMap.Data;
|
|
||||||
using MoneyMap.Models;
|
|
||||||
using MoneyMap.Services;
|
using MoneyMap.Services;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user