public List <RoadFlow.Data.Model.AppLibrary> GetAllByType(Guid type) { if (type.IsEmptyGuid()) { return(new List <RoadFlow.Data.Model.AppLibrary>()); } return((from p in dataAppLibrary.GetAllByType(GetAllChildsIDString(type)) orderby p.Title select p).ToList()); }