public EnrollmentsController(ITransactionalDbService dbService, IMapper <EnrollStudentRequest, Student> enrollStudentToStudentMapper, IMapper <Enrollment, EnrollmentResponse> enrollmentToResponseMapper) { _dbService = dbService; _enrollStudentToStudentMapper = enrollStudentToStudentMapper; _enrollmentToResponseMapper = enrollmentToResponseMapper; }
public PromotionsController(ITransactionalDbService dbService, IMapper <Enrollment, EnrollmentResponse> enrollmentToResponseMapper) { _dbService = dbService; _enrollmentToResponseMapper = enrollmentToResponseMapper; }
public AuthController(ITransactionalDbService dbService, IConfiguration configuration) { _dbService = dbService; Configuration = configuration; }