Beispiel #1
0
        public bool InsertFase(BolaoNet.Model.Campeonatos.Fase fase)
        {
            int    errorNumber      = 0;
            string errorDescription = null;

            bool result = _daoBase.InsertFase(_currentLogin, this, fase, out errorNumber, out errorDescription);

            if (errorNumber != 0 || !string.IsNullOrEmpty(errorDescription))
            {
                return(false);
            }

            if (_fasesCollection != null)
            {
                _fasesCollection.Add(fase);
            }


            return(result);
        }