public IEnumerable <Function> GetAllWithParentId(string parentId)
 {
     return(_functionRepository.Filter(x => x.ParentId == parentId));
 }