Пример #1
0
        private void UpdateEnterpriceRating(int entId)
        {
            Enterprise ent           = entRepository.Enterprises.FirstOrDefault(e => e.EntId == entId);
            double     updatedRating = this.RecalculateEnterpriceRating(ent);

            entRepository.ChangeRating(ent, updatedRating);
        }