Example #1
0
 public AccountService(IGymUserWriter gymUserWriter, IGymUserReader gymUserReader, IClassAttendanceReader classAttendanceReader, IScheduledClassReader scheduledClassReader)
 {
     _gymUserWriter         = gymUserWriter;
     _gymUserReader         = gymUserReader;
     _classAttendanceReader = classAttendanceReader;
     _scheduledClassReader  = scheduledClassReader;
 }
Example #2
0
 public ScheduledClassService(IScheduledClassReader scheduledClassReader,
                              IScheduledClassWriter scheduledClassWriter,
                              IClassTypeReader classTypeReader,
                              IClassTimetableReader classTimetableReader,
                              IHolidayReader holidayReader,
                              IGymUserReader gymReader,
                              IClassAttendanceReader classAttendanceReader)
 {
     _scheduledClassReader  = scheduledClassReader;
     _scheduledClassWriter  = scheduledClassWriter;
     _classTypeReader       = classTypeReader;
     _classTimetableReader  = classTimetableReader;
     _holidayReader         = holidayReader;
     _gymReader             = gymReader;
     _classAttendanceReader = classAttendanceReader;
 }