Exemple #1
0
        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);
        }
Exemple #2
0
 public IEnumerable <Tourn> GetTourns(int?parentId)
 {
     return(_agent.GetTourns(parentId));
 }