Skip to content

Commit

Permalink
[Add] sopt-makers#199 - 데모 앱 DIContainer 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
0inn committed Apr 23, 2023
1 parent 0ed820c commit 9cf7e51
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ extension DIContainer: Features {
return showAttendanceVC
}

func makeAttendanceVC() -> AttendanceViewControllable {
func makeAttendanceVC(lectureRound: AttendanceRoundModel) -> AttendanceViewControllable {
let repository = AttendanceRepository(service: attendanceService)
let useCase = DefaultAttendanceUseCase(repository: repository)
let viewModel = AttendanceViewModel(useCase: useCase)
let viewModel = AttendanceViewModel(useCase: useCase, lectureRound: lectureRound)
let attendanceVC = AttendanceVC(viewModel: viewModel, factory: self)
return attendanceVC
}
Expand Down

0 comments on commit 9cf7e51

Please sign in to comment.