Skip to content

Commit

Permalink
Rename the entry project of each host to Presentation instead of Appl…
Browse files Browse the repository at this point in the history
…ication to avoid confusion with the Application layer of Clean Architecture
  • Loading branch information
panosru committed Jan 5, 2024
1 parent 28c7e2a commit e72d444
Show file tree
Hide file tree
Showing 154 changed files with 227 additions and 227 deletions.
16 changes: 8 additions & 8 deletions CleanDDDArchitecture.sln
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Integration", "Domains\Acco
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unit", "Domains\Account\Tests\Unit\Unit.csproj", "{96C76148-634C-4006-BBE3-FACC7C7054D6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Domains\Account\Hosts\RestApi\Application\Application.csproj", "{A2A1B51E-EB21-4622-89B8-6334415BE901}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Presentation", "Domains\Account\Hosts\RestApi\Presentation\Presentation.csproj", "{A2A1B51E-EB21-4622-89B8-6334415BE901}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Behaviour", "Domains\Account\Hosts\RestApi\Tests\Behaviour\Behaviour.csproj", "{8DD7F261-AEA5-431C-AFFE-A379AC830B70}"
EndProject
Expand All @@ -101,7 +101,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RestApi", "RestApi", "{981E
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{1FA2B339-4D71-48EE-961A-2C1046FEEA47}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Domains\Todo\Hosts\RestApi\Application\Application.csproj", "{D9DD0B70-9A7F-45DB-B826-61FD1F413776}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Presentation", "Domains\Todo\Hosts\RestApi\Presentation\Presentation.csproj", "{D9DD0B70-9A7F-45DB-B826-61FD1F413776}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Behaviour", "Domains\Todo\Hosts\RestApi\Tests\Behaviour\Behaviour.csproj", "{811150DC-3BC0-43C2-9492-62ADACE1DBE5}"
EndProject
Expand All @@ -121,7 +121,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{3FC0FFB5
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Behaviour", "Domains\Todo\SubDomains\TodoList\Hosts\RestApi\Tests\Behaviour\Behaviour.csproj", "{28D1022A-CB23-4244-A9D6-B2027A6ADE2B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Domains\Todo\SubDomains\TodoList\Hosts\RestApi\Application\Application.csproj", "{755105A1-C447-4A1F-9DD8-B668C9D2DBAD}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Presentation", "Domains\Todo\SubDomains\TodoList\Hosts\RestApi\Presentation\Presentation.csproj", "{755105A1-C447-4A1F-9DD8-B668C9D2DBAD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Behaviour", "Domains\Todo\SubDomains\TodoList\Tests\Behaviour\Behaviour.csproj", "{5776F01D-A992-4606-82A3-3D91F328F5CE}"
EndProject
Expand All @@ -143,7 +143,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{0737B9FA
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Behaviour", "Domains\Todo\SubDomains\TodoItem\Hosts\RestApi\Tests\Behaviour\Behaviour.csproj", "{53A42E45-94D9-4977-B75D-DB5D3938E2E2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Domains\Todo\SubDomains\TodoItem\Hosts\RestApi\Application\Application.csproj", "{2C3BD717-9EF4-409B-9128-10D58AC70C28}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Presentation", "Domains\Todo\SubDomains\TodoItem\Hosts\RestApi\Presentation\Presentation.csproj", "{2C3BD717-9EF4-409B-9128-10D58AC70C28}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Domains\Todo\SubDomains\TodoItem\Core\Core.csproj", "{A6BBE38E-AFE3-48EA-BED2-69614FF8753B}"
EndProject
Expand Down Expand Up @@ -175,7 +175,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Behaviour", "Hosts\RestApi\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Hosts\RestApi\Core\Core.csproj", "{6C4655AB-0A8E-4DF4-8159-1C7BD6993EF8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Hosts\RestApi\Application\Application.csproj", "{4FB5B663-41A4-4980-8AC6-BDBE0ADA2C92}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Presentation", "Hosts\RestApi\Presentation\Presentation.csproj", "{4FB5B663-41A4-4980-8AC6-BDBE0ADA2C92}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Weather", "Weather", "{92C66757-37C1-4E0E-B5A8-27527151E8A5}"
EndProject
Expand All @@ -187,7 +187,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{E90E3046
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Behaviour", "Domains\Weather\Hosts\RestApi\Tests\Behaviour\Behaviour.csproj", "{E84682C9-F475-4E51-90BB-402A9E87C9E0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Domains\Weather\Hosts\RestApi\Application\Application.csproj", "{0E63DDF0-5CB2-4287-9F12-18EBC7126001}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Presentation", "Domains\Weather\Hosts\RestApi\Presentation\Presentation.csproj", "{0E63DDF0-5CB2-4287-9F12-18EBC7126001}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{307E70DC-4DF4-4B3C-8FFA-669D20143475}"
EndProject
Expand All @@ -211,13 +211,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{70AF2CB1
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ui", "Hosts\WebApp\Tests\Ui\Ui.csproj", "{5C47E2F6-8723-4D3A-9BA2-022A05509FC9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Hosts\WebApp\Application\Application.csproj", "{5914EEA0-6FEF-4D64-A6EE-9B23FDEC19A3}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Presentation", "Hosts\WebApp\Presentation\Presentation.csproj", "{5914EEA0-6FEF-4D64-A6EE-9B23FDEC19A3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WebApp", "WebApp", "{2A58BB24-F9A5-4363-9AB2-B7C8B8298C0B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{62DE499A-5313-4C4C-BB7A-FBB822350A78}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Domains\Weather\Hosts\WebApp\Application\Application.csproj", "{5AC06796-F886-47A1-844E-75C8A955C3EA}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Presentation", "Domains\Weather\Hosts\WebApp\Presentation\Presentation.csproj", "{5AC06796-F886-47A1-844E-75C8A955C3EA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Hosts\WebApp\Core\Core.csproj", "{0A097D11-9CB4-416F-AD7C-53C6FD2AB57B}"
EndProject
Expand Down
2 changes: 1 addition & 1 deletion Domains/Account/CrossCutting/appsettings.account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ eventsTopicName: "CleanDDDArchitectureEvents"
eventsTopicGroupName: "cleandddarchitecture-api-events-consumer"

Jwt:
Audience: "CleanDDDArchitecture.Hosts.RestApi.ApplicationAPI"
Audience: "CleanDDDArchitecture.Hosts.RestApi.PresentationAPI"
ClockSkewInMinutes: 5
Access:
ExpirationDurationInMinutes: 15
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using CleanDDDArchitecture.Hosts.RestApi.Core.Routing;
using Microsoft.Extensions.DependencyInjection;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation;

/// <inheritdoc />
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application</RootNamespace>
<AssemblyName>CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application</AssemblyName>
<RootNamespace>CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation</RootNamespace>
<AssemblyName>CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation</AssemblyName>
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.FeatureManagement.Mvc;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.Authenticate;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.Authenticate;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[ApiVersion("1.0")]
[ApiVersion("1.1")]
[AllowAnonymous]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.FeatureManagement.Mvc;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.ConfirmEmail;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.ConfirmEmail;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[ApiVersion("1.0")]
[ApiVersion("1.1")]
[AllowAnonymous]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.FeatureManagement.Mvc;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.Create;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.Create;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[ApiVersion("1.0")]
[AllowAnonymous]
[FeatureGate(Features.AccountCreate)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using CleanDDDArchitecture.Domains.Account.Application.Aggregates;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.Create;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.Create;

/// <summary>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.FeatureManagement.Mvc;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.GetBy;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.GetBy;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[ApiVersion("1.0")]
[FeatureGate(Features.AccountGetBy)]
public sealed class Account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using CleanDDDArchitecture.Domains.Account.Application.Identity;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.GetBy;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.GetBy;

/// <summary>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.FeatureManagement.Mvc;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.Profile;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.Profile;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[ApiVersion("1.0")]
[FeatureGate(Features.AccountProfile)]
public sealed class Account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using CleanDDDArchitecture.Domains.Account.Application.Identity;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.Profile;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.Profile;

/// <summary>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.FeatureManagement.Mvc;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.UpdateDetails;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.UpdateDetails;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[ApiVersion("1.0")]
[FeatureGate(Features.AccountUpdateDetails)]
public sealed class Account
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using CleanDDDArchitecture.Domains.Account.Application.Aggregates;

namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Application.UseCases.V1_0.UpdateDetails;
namespace CleanDDDArchitecture.Domains.Account.Hosts.RestApi.Presentation.UseCases.V1_0.UpdateDetails;

/// <summary>
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\Application\Application.csproj" />
<ProjectReference Include="..\..\Presentation\Presentation.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>CleanDDDArchitecture.Domains.Todo.Hosts.RestApi.Application</RootNamespace>
<AssemblyName>CleanDDDArchitecture.Domains.Todo.Hosts.RestApi.Application</AssemblyName>
<RootNamespace>CleanDDDArchitecture.Domains.Todo.Hosts.RestApi.Presentation</RootNamespace>
<AssemblyName>CleanDDDArchitecture.Domains.Todo.Hosts.RestApi.Presentation</AssemblyName>
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\CrossCutting\CrossCutting.csproj" />
<ProjectReference Include="..\..\..\SubDomains\TodoItem\Hosts\RestApi\Application\Application.csproj" />
<ProjectReference Include="..\..\..\SubDomains\TodoList\Hosts\RestApi\Application\Application.csproj" />
<ProjectReference Include="..\..\..\SubDomains\TodoItem\Hosts\RestApi\Presentation\Presentation.csproj" />
<ProjectReference Include="..\..\..\SubDomains\TodoList\Hosts\RestApi\Presentation\Presentation.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\Application\Application.csproj" />
<ProjectReference Include="..\..\Presentation\Presentation.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.Extensions.DependencyInjection;
using CleanDDDArchitecture.Domains.Todo.Application.Persistence;

namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application;
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation;

/// <inheritdoc />
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application</RootNamespace>
<AssemblyName>CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application</AssemblyName>
<RootNamespace>CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation</RootNamespace>
<AssemblyName>CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation</AssemblyName>
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.UseCases.V1_0.Create;
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.UseCases.V1_0.Create;

using System.Net.Mime;
using CleanDDDArchitecture.Hosts.RestApi.Core;
Expand All @@ -9,7 +9,7 @@
using TodoItem.Application.UseCases.Create;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[FeatureGate(Features.TodoItemCreate)]
public sealed class TodoItems
: ApiController<TodoItemCreateUseCase, TodoItems>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.UseCases.V1_0.Delete;
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.UseCases.V1_0.Delete;

using System.Net.Mime;
using CleanDDDArchitecture.Hosts.RestApi.Core;
Expand All @@ -8,7 +8,7 @@
using TodoItem.Application.UseCases.Delete;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[FeatureGate(Features.TodoItemDelete)]
public sealed class TodoItems
: ApiController<TodoItemDeleteUseCase, TodoItems>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.UseCases.V1_0.GetBy;
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.UseCases.V1_0.GetBy;

using System.Net.Mime;
using CleanDDDArchitecture.Hosts.RestApi.Core;
Expand All @@ -8,7 +8,7 @@
using TodoItem.Application.UseCases.GetBy;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[FeatureGate(Features.TodoItemGetBy)]
public sealed class TodoItems
: ApiController<TodoItemGetByUseCase, TodoItems>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.UseCases.V1_0.Update;
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.UseCases.V1_0.Update;

using System.Net.Mime;
using CleanDDDArchitecture.Hosts.RestApi.Core;
Expand All @@ -8,7 +8,7 @@
using TodoItem.Application.UseCases.Update;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[FeatureGate(Features.TodoItemUpdate)]
public sealed class TodoItems
: ApiController<TodoItemUpdateUseCase, TodoItems>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.UseCases.V1_0.UpdateDetails;
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.UseCases.V1_0.UpdateDetails;

using System.Net.Mime;
using CleanDDDArchitecture.Hosts.RestApi.Core;
Expand All @@ -8,7 +8,7 @@
using TodoItem.Application.UseCases.UpdateDetails;

/// <inheritdoc
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Application.ApiController{TUseCase,TUseCaseOutput}" />
/// cref="CleanDDDArchitecture.Domains.Todo.SubDomains.TodoItem.Hosts.RestApi.Presentation.ApiController{TUseCase,TUseCaseOutput}" />
[FeatureGate(Features.TodoItemUpdateDetails)]
public sealed class TodoItems
: ApiController<TodoItemUpdatedetailsUseCase, TodoItems>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\Application\Application.csproj" />
<ProjectReference Include="..\..\Presentation\Presentation.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.Extensions.DependencyInjection;
using CleanDDDArchitecture.Domains.Todo.Application.Persistence;

namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoList.Hosts.RestApi.Application;
namespace CleanDDDArchitecture.Domains.Todo.SubDomains.TodoList.Hosts.RestApi.Presentation;

/// <inheritdoc />
/// <summary>
Expand Down
Loading

0 comments on commit e72d444

Please sign in to comment.