public bool GoBack() { if (_path.Count == 0) { return(false); } _currentTourn = _path.Pop(); Tourns = _agent.GetTourns(_currentTourn).Select(Mapper.Map <LogicLayer.Model.Tourn, TournRow>).ToList(); return(true); }
public IEnumerable <Tourn> GetTourns(int?parentId) { return(_agent.GetTourns(parentId)); }