public IEnumerable <SubprocessDTO> GetChildrenOfSubprocess(int id) { return(dbm.FindAllChildrenBySubprocessID(id) .Select(x => { if (x != null) { return converter.SubprocessToDTO(x); } return null; }) .ToList()); }
public IEnumerable <SubprocessDTO> GetChildrenOfSubprocess(int id) { return(dbm.FindAllChildrenBySubprocessID(id) .Select(x => { if (x != null) { return converter.SubprocessToDTO(x); } return null; }) .ToList()); }