Exemplo n.º 1
0
 public IEnumerable <SubprocessDTO> GetSubprocessesByProcessID(int id)
 {
     return(dbm.FindAllSubprocesses(true)
            .Where(x => x.Process.ProcessID == id)
            .Select(x => converter.SubprocessToDTO(x))
            .ToList());
 }
Exemplo n.º 2
0
 public IEnumerable <SubprocessDTO> GetSubprocesses()
 {
     return(dbm.FindAllSubprocesses(true).Select(x => converter.SubprocessToDTO(x)).ToList());
 }