Example #1
0
 public SessionsController(ISessionRepo sessionRepo, ISemesterRepo semesterRepo, IPersonRepo personRepo,
  ISessionReasonRepo sessionReasonRepo, ISessionClassRepo sessionClassRepo, IMapper mapper)
 {
     _mapper = mapper;
     _sessionRepo = sessionRepo;
     _semesterRepo = semesterRepo;
     _personRepo = personRepo;
     _sessionReasonRepo = sessionReasonRepo;
     _sessionClassRepo = sessionClassRepo;
 }
Example #2
0
 /// <summary>Sessions Controller Constructor</summary>
 public SessionsController(ISessionRepo sessionRepo, ISemesterRepo semesterRepo, IPersonRepo personRepo,
                           ISessionReasonRepo sessionReasonRepo, ISessionClassRepo sessionClassRepo, IMapper mapper, ICSVParser <CSVSessionUpload> csvParser, IUnitOfWorkSession unitSession)
 {
     _mapper            = mapper;
     _csvParser         = csvParser;
     _unitSession       = unitSession;
     _sessionRepo       = sessionRepo;
     _semesterRepo      = semesterRepo;
     _personRepo        = personRepo;
     _sessionReasonRepo = sessionReasonRepo;
     _sessionClassRepo  = sessionClassRepo;
 }