Skip to content

Commit

Permalink
Move API modules
Browse files Browse the repository at this point in the history
  • Loading branch information
gritcsenko committed Feb 7, 2023
1 parent c1b4505 commit 645e930
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using HomeInventory.Domain.Errors;
using HomeInventory.Domain.ValueObjects;
using HomeInventory.Tests.Helpers;
using HomeInventory.Web;
using HomeInventory.Web.Modules;
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.HttpResults;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;

namespace HomeInventory.Web;
namespace HomeInventory.Web.Modules;

internal abstract class ApiModule : CarterModule
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;

namespace HomeInventory.Web;
namespace HomeInventory.Web.Modules;

internal class AreaModule : ApiModule
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
using HomeInventory.Application.Authentication.Commands.Register;
using HomeInventory.Application.Authentication.Queries.Authenticate;
using HomeInventory.Contracts;
using HomeInventory.Web.Authorization.Dynamic;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;

namespace HomeInventory.Web;
namespace HomeInventory.Web.Modules;

internal class AuthenticationModule : ApiModule
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;

namespace HomeInventory.Web;
namespace HomeInventory.Web.Modules;

internal class PermissionModule : ApiModule
{
Expand Down

0 comments on commit 645e930

Please sign in to comment.