public UpdateCourseCommandHandler(IUpdateCourseService service, ICoursesCommonService commonService, IUnitOfWork unitOfWork) { _service = service; _commonService = commonService; _unitOfWork = unitOfWork; }
public DeleteCourseCommandHandler(IDeleteCourseService service, ICoursesCommonService commonService, IUnitOfWork unitOfWork, IMediator mediator) { _service = service; _commonService = commonService; _unitOfWork = unitOfWork; _mediator = mediator; }