Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
HIAST-Clinics
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
almohanad.hafez
HIAST-Clinics
Commits
fa70fd51
Commit
fa70fd51
authored
Aug 15, 2024
by
Almouhannad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(B) Add test controller into presentation
parent
1883d347
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
4 deletions
+36
-4
Clinics.Backend.sln
Clinics.Backend/Clinics.Backend.sln
+10
-4
AssemblyReference.cs
Clinics.Backend/Presentation/AssemblyReference.cs
+6
-0
TestsController.cs
Clinics.Backend/Presentation/Controllers/TestsController.cs
+16
-0
Presentation.csproj
Clinics.Backend/Presentation/Presentation.csproj
+4
-0
No files found.
Clinics.Backend/Clinics.Backend.sln
View file @
fa70fd51
...
...
@@ -11,13 +11,15 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "External", "External", "{87
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Infrastructure", "Infrastructure", "{FDA56BCD-A53D-4BA1-A59D-3F44FA32DDD7}"
EndProject
Project("{
FAE04EC0-301F-11D3-BF4B-00C04F79EFBC
}") = "Domain", "Domain\Domain.csproj", "{B14D8AA9-67E7-400C-A833-D791681ABDF6}"
Project("{
9A19103F-16F7-4668-BE54-9A1E7A4F7556
}") = "Domain", "Domain\Domain.csproj", "{B14D8AA9-67E7-400C-A833-D791681ABDF6}"
EndProject
Project("{
FAE04EC0-301F-11D3-BF4B-00C04F79EFBC
}") = "Application", "Application\Application.csproj", "{CE41FA28-76D7-4DC0-A980-B953F87253F5}"
Project("{
9A19103F-16F7-4668-BE54-9A1E7A4F7556
}") = "Application", "Application\Application.csproj", "{CE41FA28-76D7-4DC0-A980-B953F87253F5}"
EndProject
Project("{
FAE04EC0-301F-11D3-BF4B-00C04F79EFBC
}") = "Presentation", "Presentation\Presentation.csproj", "{D04C0D6C-3FC9-4359-A017-DFCFA1475639}"
Project("{
9A19103F-16F7-4668-BE54-9A1E7A4F7556
}") = "Presentation", "Presentation\Presentation.csproj", "{D04C0D6C-3FC9-4359-A017-DFCFA1475639}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Persistence", "Persistence\Persistence.csproj", "{2B5111ED-7AB8-46E2-90F8-AF0C70265618}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Persistence", "Persistence\Persistence.csproj", "{2B5111ED-7AB8-46E2-90F8-AF0C70265618}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "API", "API\API.csproj", "{15B2AA13-EBBD-408B-A4B3-4BAB43D74267}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
...
...
@@ -41,6 +43,10 @@ Global
{2B5111ED-7AB8-46E2-90F8-AF0C70265618}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2B5111ED-7AB8-46E2-90F8-AF0C70265618}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2B5111ED-7AB8-46E2-90F8-AF0C70265618}.Release|Any CPU.Build.0 = Release|Any CPU
{15B2AA13-EBBD-408B-A4B3-4BAB43D74267}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{15B2AA13-EBBD-408B-A4B3-4BAB43D74267}.Debug|Any CPU.Build.0 = Debug|Any CPU
{15B2AA13-EBBD-408B-A4B3-4BAB43D74267}.Release|Any CPU.ActiveCfg = Release|Any CPU
{15B2AA13-EBBD-408B-A4B3-4BAB43D74267}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
Clinics.Backend/Presentation/AssemblyReference.cs
0 → 100644
View file @
fa70fd51
namespace
Presentation
{
public
class
AssemblyReference
{
}
}
Clinics.Backend/Presentation/Controllers/TestsController.cs
0 → 100644
View file @
fa70fd51
using
Microsoft.AspNetCore.Mvc
;
namespace
Presentation.Controllers
{
[
Route
(
"api/[controller]"
)]
[
ApiController
]
public
class
TestsController
:
ControllerBase
{
[
HttpGet
]
public
ActionResult
Index
()
{
object
respone
=
new
{
Result
=
"Hello world!"
};
return
Ok
(
respone
);
}
}
}
Clinics.Backend/Presentation/Presentation.csproj
View file @
fa70fd51
...
...
@@ -6,6 +6,10 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Application\Application.csproj" />
<ProjectReference Include="..\Domain\Domain.csproj" />
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment