Skip to content

Commit

Permalink
Merge pull request #32 from TomasSirotek/chore/arch-progress-vs
Browse files Browse the repository at this point in the history
🛠️ Chore: Vertical slice in application
  • Loading branch information
TomasSirotek authored Nov 17, 2023
2 parents 6576697 + 114808d commit a8dce04
Show file tree
Hide file tree
Showing 30 changed files with 7 additions and 92 deletions.
2 changes: 1 addition & 1 deletion src/Infrastructure/Data/ApplicationDbContextInitialiser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public async Task TrySeedAsync()
}

// Default users
var administrator = new ApplicationUser { UserName = "administrator@localhost", Email = "administrator@localhost" };
var administrator = new ApplicationUser { UserName = "administrator", Email = "administrator@localhost.com" };

if (_userManager.Users.All(u => u.UserName != administrator.UserName))
{
Expand Down
1 change: 0 additions & 1 deletion src/Web/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using SkillSphere.Web.Infrastructure;
using SkillSphere.Web.Services;
using SkillSphere.Application.Common.Interfaces;
using SkillSphere.Infrastructure.Data;
using ZymLabs.NSwag.FluentValidation;

namespace SkillSphere.Web;
Expand Down
26 changes: 0 additions & 26 deletions src/Web/Pages/Error.cshtml

This file was deleted.

25 changes: 0 additions & 25 deletions src/Web/Pages/Error.cshtml.cs

This file was deleted.

36 changes: 0 additions & 36 deletions src/Web/Pages/Shared/_LoginPartial.cshtml

This file was deleted.

3 changes: 0 additions & 3 deletions src/Web/Pages/_ViewImports.cshtml

This file was deleted.

6 changes: 6 additions & 0 deletions src/Web/Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
<PackageReference Include="ZymLabs.NSwag.FluentValidation.AspNetCore" />
</ItemGroup>

<ItemGroup>
<_ContentIncludedByDefault Remove="Pages\Error.cshtml" />
<_ContentIncludedByDefault Remove="Pages\Shared\_LoginPartial.cshtml" />
<_ContentIncludedByDefault Remove="Pages\_ViewImports.cshtml" />
</ItemGroup>


<!-- Auto-generated Open API specification and Angular TypeScript clients -->
<PropertyGroup>
Expand Down

0 comments on commit a8dce04

Please sign in to comment.