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