Ejemplo n.º 1
0
 public static CodeBranch To(CodeBranchAPI item)
 {
     return(new CodeBranch
     {
         ID = item.ID,
         Name = item.Name,
         BranchCheckIns = CheckInAPI.To(item.BranchCheckIns)
     });
 }
Ejemplo n.º 2
0
 public static TaskLog To(TaskLogAPI item)
 {
     return(new TaskLog
     {
         ID = item.ID,
         LogDate = item.LogDate,
         StartTime = item.StartTime,
         EndTime = item.EndTime,
         Description = item.Description,
         TaskID = item.TaskID,
         Task = TaskAPI.To(item.Task, false),
         CheckIns = CheckInAPI.To(item.CheckIns),
         Comments = TaskLogCommentAPI.To(item.Comments)
     });
 }