Пример #1
0
 public object GetDetails()
 {
     return(new ProjectDetailsDTO
     {
         ProjectId = ID,
         ProjectName = ProjectName,
         ProjectDetails = ProjectDetails,
         ProductBacklogItems = ProductBacklogItems.GetDetails <ProductBacklogItemDetailsDTO>(),
         Teams = Teams.GetDetails <TeamDetailsDTO>(),
         Iterations = Iterations.GetDetails <IterationDetailsDTO>(),
         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()
     });
 }