Example #1
0
        /// <summary>
        /// Установить студентов
        /// </summary>
        /// <param name="students"></param>
        public void SetStudents(IList <StudentRatingModel> students)
        {
            Students = students;
            if (students.Count == 0)
            {
                Students = RatingProvider.CreateEntries(Group.Id, Subject.Id);
            }

            StudentsUpdated?.Invoke(this, EventArgs.Empty);
        }