Example #1
0
        /// <summary>
        /// Получить более менее команд
        /// </summary>
        /// <returns></returns>
        public async Task <MatchModels> GetPageCoefficient(bool fds = true, bool bm = true)
        {
            List <AllTotalModels> coeffBM = null, coeffFDS = null;

            var coeffPage = await new MatchInfomation().GetPageCoefficient(this);

            if (fds)
            {
                coeffFDS = Parsing.CoeffFDS(coeffPage);
            }
            if (bm)
            {
                coeffBM = Parsing.CoeffBM(coeffPage);
            }

            this.Coefficient = new CoefficientsModels()
            {
                BM  = coeffBM,
                FDS = coeffFDS,
            };

            return(this);
        }