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
cd02d535
Commit
cd02d535
authored
Aug 25, 2024
by
hasan khaddour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mapping issues
parent
e12a00a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
EmployeesController.cs
...nagement.Api/Controllers/Employees/EmployeesController.cs
+1
-1
ProjectsController.cs
PSManagement.Api/Controllers/Projects/ProjectsController.cs
+1
-1
StepsController.cs
PSManagement.Api/Controllers/Steps/StepsController.cs
+1
-1
No files found.
PSManagement.Api/Controllers/Employees/EmployeesController.cs
View file @
cd02d535
...
@@ -82,7 +82,7 @@ namespace PSManagement.Api.Controllers.Employees
...
@@ -82,7 +82,7 @@ namespace PSManagement.Api.Controllers.Employees
}
}
[
HttpGet
(
"TrackHistory"
)]
[
HttpGet
(
"TrackHistory"
)]
public
async
Task
<
IActionResult
>
GetEmployeeTrackHistory
([
From
Form
]
GetEmployeeTrackHistoryRequest
request
)
public
async
Task
<
IActionResult
>
GetEmployeeTrackHistory
([
From
Query
]
GetEmployeeTrackHistoryRequest
request
)
{
{
var
command
=
_mapper
.
Map
<
GetEmployeeTrackHistoryQuery
>(
request
);
var
command
=
_mapper
.
Map
<
GetEmployeeTrackHistoryQuery
>(
request
);
var
result
=
await
_sender
.
Send
(
command
);
var
result
=
await
_sender
.
Send
(
command
);
...
...
PSManagement.Api/Controllers/Projects/ProjectsController.cs
View file @
cd02d535
...
@@ -185,7 +185,7 @@ namespace PSManagement.Api.Controllers.Projects
...
@@ -185,7 +185,7 @@ namespace PSManagement.Api.Controllers.Projects
[
HttpPost
(
"CompleteProject/{id}"
)]
[
HttpPost
(
"CompleteProject/{id}"
)]
public
async
Task
<
IActionResult
>
PostCompleteProjectRequest
(
int
id
)
public
async
Task
<
IActionResult
>
PostCompleteProjectRequest
(
int
id
)
{
{
var
query
=
new
CompletePro
gressPro
jectCommand
(
id
);
var
query
=
new
CompleteProjectCommand
(
id
);
var
result
=
await
_sender
.
Send
(
query
);
var
result
=
await
_sender
.
Send
(
query
);
...
...
PSManagement.Api/Controllers/Steps/StepsController.cs
View file @
cd02d535
...
@@ -16,7 +16,7 @@ using System;
...
@@ -16,7 +16,7 @@ using System;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Linq
;
using
System.Threading.Tasks
;
using
System.Threading.Tasks
;
using
PSManagement.Contracts.Tracks.Response
;
namespace
PSManagement.Api.Controllers.Steps
namespace
PSManagement.Api.Controllers.Steps
{
{
[
Route
(
"api/[controller]"
)]
[
Route
(
"api/[controller]"
)]
...
...
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