Пример #1
0
 public WorkUpdateDto(WorkClientDto dto) : this()
 {
     Id        = dto.Id;
     StartTime = dto.StartTime;
     EndTime   = dto.EndTime;
     Comment   = dto.Comment;
     Hours     = dto.Hours;
 }
Пример #2
0
 public WorkCreateDto(WorkClientDto dto, Guid projectId, Guid developerId) : this()
 {
     Id          = dto.Id;
     StartTime   = dto.StartTime;
     EndTime     = dto.EndTime;
     Comment     = dto.Comment;
     Hours       = dto.Hours;
     ProjectId   = projectId;
     DeveloperId = developerId;
 }