public WeekViewModelFactory([NotNull] LessonMenuItemsFactory menuItemsFactory, bool isTeacher, int id) { if (menuItemsFactory == null) { throw new ArgumentNullException("menuItemsFactory"); } _dayViewModelFactory = new DayViewModelFactory(menuItemsFactory, isTeacher, id); }
public DayViewModelFactory([NotNull] LessonMenuItemsFactory menuItemsFactory, bool isTeacher, int holderId) { if (menuItemsFactory == null) { throw new ArgumentNullException("menuItemsFactory"); } _menuItemsFactory = menuItemsFactory; _isTeacher = isTeacher; _holderId = holderId; }