forked from devonfw-forge/dotnet-estimation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devonfw-forge#41: fixed elements shown to wrong user + cleanup
- Loading branch information
Showing
7 changed files
with
41 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...cation.WebAPI.Implementation/Business/SessionManagement/Converters/TaskResultConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Devon4Net.Application.WebAPI.Implementation.Business.SessionManagement.Dtos; | ||
|
||
namespace Devon4Net.Application.WebAPI.Implementation.Business.SessionManagement.Converters | ||
{ | ||
public class TaskResultConverter | ||
{ | ||
public static TaskResultDto ModelToDto(TaskStatusChangeDto task) | ||
{ | ||
return new TaskResultDto | ||
{ | ||
Id = task.Id, | ||
AmountOfVotes = task.Result.AmountOfVotes, | ||
ComplexityAverage = task.Result.ComplexityAverage, | ||
FinalValue = task.Result.FinalValue | ||
}; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters