Merge branch 'master' into Main
This commit is contained in:
@@ -26,6 +26,7 @@ public record ProjectSetTimeResponseSkill
|
||||
|
||||
public class ProjectSetTimeResponseSectionAdditionalTime
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public int Hours { get; init; }
|
||||
public int Minutes { get; init; }
|
||||
public string Description { get; init; }
|
||||
|
||||
@@ -71,6 +71,7 @@ public class ProjectSetTimeDetailsQueryHandler
|
||||
AdditionalTimes = section?.AdditionalTimes
|
||||
.Select(x => new ProjectSetTimeResponseSectionAdditionalTime
|
||||
{
|
||||
Id = x.Id,
|
||||
Description = x.Reason ?? "",
|
||||
Hours = (int)x.Hours.TotalHours,
|
||||
Minutes = x.Hours.Minutes,
|
||||
|
||||
Reference in New Issue
Block a user