public PMOContract RetrivePMOListParamas(string filterName) { if (filterName == null) { throw new ArgumentNullException("filterName"); } PMOFileList list = PmoDAC.Get(); var slist = list.Where(p => p.Description.Contains(filterName)); PMOContract res = new PMOContract(); res.PMOFileList = new PMOFileList(); res.PMOFileList.AddRange(slist.ToList()); return(res); }
public PMOFileList RetrivePMOList() { PMOFileList list = PmoDAC.Get(); return(list); }