示例#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()
     });
 }