private ReportMk2(BusinessDayMk2[] businessDays, PersonMk2[] people) { if (businessDays == null) throw new ArgumentNullException(nameof(businessDays)); if (people == null) throw new ArgumentNullException(nameof(people)); BusinessDays = businessDays; People = people; }
private void CreateAttendance(PersonMk2 person) { if (person == null) throw new ArgumentNullException(nameof(person)); AttendanceView.AddItem(person); TextBoxLastModification.Text = $"Adição de presença para: {person.Name}"; }