Esempio n. 1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public ClassroomService(
     DatabaseContext dbContext,
     IClassroomArchiver classroomArchiver)
 {
     _dbContext         = dbContext;
     _classroomArchiver = classroomArchiver;
 }
Esempio n. 2
0
 /// <summary>
 /// Returns a new ClassroomService object.
 /// </summary>
 private ClassroomService GetClassroomService(
     DatabaseContext dbContext,
     IClassroomArchiver archiver = null)
 {
     return(new ClassroomService(dbContext, archiver));
 }