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; }
/// <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; }