Exemple #1
0
        public bool InsertTime(BolaoNet.Model.DadosBasicos.Time time)
        {
            int    errorNumber      = 0;
            string errorDescription = null;

            bool result = _daoBase.InsertTime(_currentLogin, this, time, out errorNumber, out errorDescription);

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

            if (_timesCollection != null)
            {
                _timesCollection.Add(time);
            }


            return(result);
        }