public Result <List <Department> > ListByNode(string Node) { var table = ConvertDataTableToList.BindList <Department>(_dataSource.ListByNode(Node)); if (table.Count > 0 || table.Count == 0) { return(Result <List <Department> > .Successful(data : table)); } return(Result <List <Department> > .Failure()); }