예제 #1
0
 public object ToDTO()
 {
     return(new IterationDTO
     {
         IterationID = ID,
         ProjectID = ProjectID,
         SprintStartDate = SprintStartDate.ToString("d"),
         SprintEndDate = SprintEndDate.ToString("d"),
         SprintName = SprintName,
         Archived = Archived
     });
 }
예제 #2
0
 public object GetDetails()
 {
     return(new IterationDetailsDTO
     {
         IterationID = ID,
         ProjectID = ProjectID,
         SprintStartDate = SprintStartDate.ToString("d"),
         SprintEndDate = SprintEndDate.ToString("d"),
         SprintName = SprintName,
         Archived = Archived,
         productBacklogItems = ProductBacklogItems.GetDetails <ProductBacklogItemDetailsDTO>().ToList()
     });
 }