예제 #1
0
        public void AddAnnouncementSetGradeNotificationToStudent(int announcementId, int recipientId)
        {
            var announcement = ServiceLocator.ClassAnnouncementService.GetAnnouncementDetails(announcementId);
            var recipient    = ServiceLocator.PersonService.GetPerson(recipientId);
            var notification = builder.BuildAnnouncementSetGradeToStudentNotification(Context.NowSchoolTime, announcement, recipient);

            AddNotification(notification);
        }