Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
ProjectsStatusManagement
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
hasan.bahjat
ProjectsStatusManagement
Commits
44b1cab8
Commit
44b1cab8
authored
Sep 09, 2024
by
hasan khaddour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix as finall
parent
e8959c8b
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
6 additions
and
4 deletions
+6
-4
DependencyInjection.cs
PSManagement.Api/DependencyInjection/DependencyInjection.cs
+1
-0
CorsSettings.cs
PSManagement.Api/Settings/CorsSettings.cs
+2
-2
Startup.cs
PSManagement.Api/Startup.cs
+2
-1
ؤءؤءئؤءؤءئؤ81d6590a-71ea-4df3-b4b7-0aa925d65fa1.PNG
...loads/ؤءؤءئؤءؤءئؤ81d6590a-71ea-4df3-b4b7-0aa925d65fa1.PNG
+0
-0
دراسة الجدوىf80d7c5d-ff22-490a-8828-0c519003d0b1.PNG
...oads/دراسة الجدوىf80d7c5d-ff22-490a-8828-0c519003d0b1.PNG
+0
-0
متطلبات الجهة الطارحة4c023b8e-f986-45b5-85a0-9c399f72d313.PNG
...بات الجهة الطارحة4c023b8e-f986-45b5-85a0-9c399f72d313.PNG
+0
-0
متطلبات الجهة الطارحةe51ba254-68eb-4623-82d6-50d5def4cd15.PNG
...بات الجهة الطارحةe51ba254-68eb-4623-82d6-50d5def4cd15.PNG
+0
-0
ProjectMapperConfiguration.cs
...gement.Presentation/Mappers/ProjectMapperConfiguration.cs
+1
-1
No files found.
PSManagement.Api/DependencyInjection/DependencyInjection.cs
View file @
44b1cab8
...
@@ -74,6 +74,7 @@ namespace PSManagement.Api.DI
...
@@ -74,6 +74,7 @@ namespace PSManagement.Api.DI
options
.
AddPolicy
(
policy
.
PolicyName
,
options
.
AddPolicy
(
policy
.
PolicyName
,
builder
=>
builder
builder
=>
builder
.
WithOrigins
(
policy
.
AllowedOrigins
)
// Add your frontend URL here
.
WithOrigins
(
policy
.
AllowedOrigins
)
// Add your frontend URL here
.
SetIsOriginAllowedToAllowWildcardSubdomains
()
.
AllowAnyHeader
()
.
AllowAnyHeader
()
.
AllowAnyMethod
()
.
AllowAnyMethod
()
.
AllowCredentials
());
.
AllowCredentials
());
...
...
PSManagement.Api/Settings/CorsSettings.cs
View file @
44b1cab8
...
@@ -14,8 +14,8 @@ namespace PSManagement.Api.Settings
...
@@ -14,8 +14,8 @@ namespace PSManagement.Api.Settings
public
class
Policy
public
class
Policy
{
{
public
string
PolicyName
{
get
;
set
;
}
public
string
PolicyName
{
get
;
set
;
}
=
string
.
Empty
;
public
string
AllowedOrigins
{
get
;
set
;
}
public
string
AllowedOrigins
{
get
;
set
;
}
=
string
.
Empty
;
}
}
}
}
PSManagement.Api/Startup.cs
View file @
44b1cab8
...
@@ -62,8 +62,9 @@ namespace PSManagement.Api
...
@@ -62,8 +62,9 @@ namespace PSManagement.Api
app
.
UseStaticFiles
();
app
.
UseStaticFiles
();
app
.
UseRouting
();
app
.
UseRouting
();
app
.
UseMyCors
();
//
app.UseMyCors();
app
.
UseCors
(
"AllowHiast"
);
app
.
UseAuthentication
();
app
.
UseAuthentication
();
app
.
UseAuthorization
();
app
.
UseAuthorization
();
app
.
UseEndpoints
(
endpoints
=>
app
.
UseEndpoints
(
endpoints
=>
...
...
PSManagement.Api/wwwroot/uploads/ؤءؤءئؤءؤءئؤ81d6590a-71ea-4df3-b4b7-0aa925d65fa1.PNG
0 → 100644
View file @
44b1cab8
191 KB
PSManagement.Api/wwwroot/uploads/دراسة الجدوىf80d7c5d-ff22-490a-8828-0c519003d0b1.PNG
0 → 100644
View file @
44b1cab8
191 KB
PSManagement.Api/wwwroot/uploads/متطلبات الجهة الطارحة4c023b8e-f986-45b5-85a0-9c399f72d313.PNG
0 → 100644
View file @
44b1cab8
191 KB
PSManagement.Api/wwwroot/uploads/متطلبات الجهة الطارحةe51ba254-68eb-4623-82d6-50d5def4cd15.PNG
0 → 100644
View file @
44b1cab8
191 KB
PSManagement.Presentation/Mappers/ProjectMapperConfiguration.cs
View file @
44b1cab8
...
@@ -27,7 +27,7 @@ namespace PSManagement.Presentation.Mappers
...
@@ -27,7 +27,7 @@ namespace PSManagement.Presentation.Mappers
CreateMap
<
RemoveParticipantRequest
,
RemoveParticipantCommand
>().
ReverseMap
();
CreateMap
<
RemoveParticipantRequest
,
RemoveParticipantCommand
>().
ReverseMap
();
CreateMap
<
ProjectDTO
,
ProjectResponse
>().
ReverseMap
();
CreateMap
<
ProjectDTO
,
ProjectResponse
>().
ReverseMap
();
CreateMap
<
GetProjectsByProjectManagerRequest
,
GetProjectsByFilterQuery
>().
ConstructUsing
(
CreateMap
<
GetProjectsByProjectManagerRequest
,
GetProjectsByFilterQuery
>().
ConstructUsing
(
s
=>
new
GetProjectsByFilterQuery
(
null
,
null
,
null
,
null
,
s
.
ProjectManagerId
,
null
,
null
,
null
)
s
=>
new
GetProjectsByFilterQuery
(
null
,
null
,
null
,
s
.
ProjectManagerId
,
null
,
null
,
null
,
null
)
);
);
...
...
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