public void AddEndMarkingPeriodNotification(int toPersonId, int markingPeriodId, int endDays, bool isNextMpNotExist, bool isNextMpNotAssignedToClass) { var markingPeriod = ServiceLocator.MarkingPeriodService.GetMarkingPeriodById(markingPeriodId); var toSchoolPerson = ServiceLocator.PersonService.GetPerson(toPersonId); var notification = builder.BuildEndMarkingPeriodNotification(Context.NowSchoolTime, markingPeriod, toSchoolPerson, endDays, isNextMpNotExist, isNextMpNotAssignedToClass); AddNotification(notification); }