Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Commit

Permalink
update folder and references with Infrastructure (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
morkusporkus authored Dec 8, 2022
1 parent 67361ee commit b28a2df
Show file tree
Hide file tree
Showing 26 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion src/Client/Features/Admin/AddPlayer.razor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DynamoLeagueBlazor.Shared.Features.Admin;
using DynamoLeagueBlazor.Shared.Features.Admin.Shared;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Authorization;

namespace DynamoLeagueBlazor.Client.Features.Admin;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Features/Admin/RefreshPlayerHeadshots.razor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using DynamoLeagueBlazor.Shared.Features.Admin;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Authorization;

namespace DynamoLeagueBlazor.Client.Features.Admin;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Features/Admin/StartSeason.razor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DynamoLeagueBlazor.Client.Shared.Components;
using DynamoLeagueBlazor.Shared.Features.Admin;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Authorization;

namespace DynamoLeagueBlazor.Client.Features.Admin;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Features/Admin/Users/List.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page "/admin/users"
@using DynamoLeagueBlazor.Shared.Infastructure.Identity
@using DynamoLeagueBlazor.Shared.Infrastructure.Identity
@using static DynamoLeagueBlazor.Shared.Features.Admin.Users.UserListResult

<Title>
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Features/Admin/Users/List.razor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using DynamoLeagueBlazor.Shared.Features.Admin.Users;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Authorization;

namespace DynamoLeagueBlazor.Client.Features.Admin.Users;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Features/Fines/List.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page "/fines"
@using DynamoLeagueBlazor.Shared.Infastructure.Identity
@using DynamoLeagueBlazor.Shared.Infrastructure.Identity
@using static DynamoLeagueBlazor.Shared.Features.Fines.FineListResult

<Title>
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Features/Teams/Detail.razor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DynamoLeagueBlazor.Client.Shared.Components;
using DynamoLeagueBlazor.Shared.Features.Teams;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using static DynamoLeagueBlazor.Shared.Features.Teams.TeamDetailResult;

namespace DynamoLeagueBlazor.Client.Features.Teams;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using DynamoLeagueBlazor.Client.Shared.Components;
using DynamoLeagueBlazor.Shared.Features.Admin.Shared;
using DynamoLeagueBlazor.Shared.Features.FreeAgents.Detail;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using MudBlazor.Services;
Expand Down
2 changes: 1 addition & 1 deletion src/Client/Shared/NavMenu/Login.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using DynamoLeagueBlazor.Shared.Infastructure.Identity
@using DynamoLeagueBlazor.Shared.Infrastructure.Identity
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication

Expand Down
2 changes: 1 addition & 1 deletion src/Client/_Imports.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
@using DynamoLeagueBlazor.Client
@using DynamoLeagueBlazor.Client.Shared
@using DynamoLeagueBlazor.Client.Shared.Components
@using DynamoLeagueBlazor.Shared.Infastructure.Identity
@using DynamoLeagueBlazor.Shared.Infrastructure.Identity
@using MudBlazor
@using Blazored.FluentValidation
2 changes: 1 addition & 1 deletion src/Server/Features/Admin/AddPlayer.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DynamoLeagueBlazor.Shared.Features.Admin;
using DynamoLeagueBlazor.Shared.Features.Admin.Shared;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using static DynamoLeagueBlazor.Shared.Features.Admin.TeamNameListResult;

namespace DynamoLeagueBlazor.Server.Features.Admin;
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Features/Admin/RefreshPlayerHeadshots.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DynamoLeagueBlazor.Shared.Features.Admin;
using DynamoLeagueBlazor.Shared.Features.Admin.Shared;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;

namespace DynamoLeagueBlazor.Server.Features.Admin;

Expand Down
2 changes: 1 addition & 1 deletion src/Server/Features/Admin/StartSeason.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using DynamoLeagueBlazor.Shared.Features.Admin;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;

namespace DynamoLeagueBlazor.Server.Features.Admin;

Expand Down
2 changes: 1 addition & 1 deletion src/Server/Features/Admin/Users/Delete.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DynamoLeagueBlazor.Server.Infrastructure.Identity;
using DynamoLeagueBlazor.Shared.Features.Admin.Users;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Identity;

namespace DynamoLeagueBlazor.Server.Features.Admin.Users;
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Features/Admin/Users/List.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DynamoLeagueBlazor.Server.Infrastructure.Identity;
using DynamoLeagueBlazor.Shared.Features.Admin.Users;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Identity;

namespace DynamoLeagueBlazor.Server.Features.Admin.Users;
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Features/Fines/ManageFine.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using DynamoLeagueBlazor.Shared.Features.Fines;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;

namespace DynamoLeagueBlazor.Server.Features.Fines;

Expand Down
2 changes: 1 addition & 1 deletion src/Server/Features/Teams/AddFine.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using DynamoLeagueBlazor.Shared.Features.Teams;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;

namespace DynamoLeagueBlazor.Server.Features.Teams;

Expand Down
2 changes: 1 addition & 1 deletion src/Server/Infrastructure/Identity/ApplicationUser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Identity;

namespace DynamoLeagueBlazor.Server.Infrastructure.Identity;
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Infrastructure/SeedDataCommand.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using DynamoLeagueBlazor.Server.Infrastructure.Identity;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Identity;

namespace DynamoLeagueBlazor.Server.Infrastructure;
Expand Down
4 changes: 2 additions & 2 deletions src/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
using DynamoLeagueBlazor.Shared.Features.FreeAgents.Detail;
using DynamoLeagueBlazor.Shared.Features.OfferMatching;
using DynamoLeagueBlazor.Shared.Features.Players;
using DynamoLeagueBlazor.Shared.Infastructure;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity.UI.Services;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Authorization;

namespace DynamoLeagueBlazor.Shared.Infastructure.Identity;
namespace DynamoLeagueBlazor.Shared.Infrastructure.Identity;

public static class PolicyRequirements
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace DynamoLeagueBlazor.Shared.Infastructure.Identity;
namespace DynamoLeagueBlazor.Shared.Infrastructure.Identity;

public interface IUser
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace DynamoLeagueBlazor.Shared.Infastructure.Identity;
namespace DynamoLeagueBlazor.Shared.Infrastructure.Identity;

public static class RoleName
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using DotNet.Testcontainers.Configurations;
using DotNet.Testcontainers.Containers;

namespace DynamoLeagueBlazor.Shared.Infastructure;
namespace DynamoLeagueBlazor.Shared.Infrastructure;

public class MsSqlContainerFactory : IAsyncDisposable
{
Expand Down
4 changes: 2 additions & 2 deletions src/Tests/IntegrationTestBase.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using DynamoLeagueBlazor.Server.Infrastructure;
using DynamoLeagueBlazor.Server.Infrastructure.Identity;
using DynamoLeagueBlazor.Shared.Features.Admin.Shared;
using DynamoLeagueBlazor.Shared.Infastructure;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/UITestBase.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Bunit.TestDoubles;
using DynamoLeagueBlazor.Client.Shared.Components;
using DynamoLeagueBlazor.Shared.Infastructure.Identity;
using DynamoLeagueBlazor.Shared.Infrastructure.Identity;
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.DependencyInjection;
using MockHttp.Json;
Expand Down

0 comments on commit b28a2df

Please sign in to comment.