public AppointmentsController(EngagementOrganizerContext context, IMapper mapper, IWarningChecker warningChecker, IConfiguration configuration)
 {
     _context           = context;
     _mapper            = mapper;
     _warningChecker    = warningChecker;
     this.configuration = configuration;
 }
 public AppointmentsController(EngagementOrganizerContext context, IMapper mapper, IWarningChecker warningChecker, IConfiguration configuration, IUpstreamApiAppointments upstreamAppointment)
 {
     _context              = context;
     _mapper               = mapper;
     _warningChecker       = warningChecker;
     _configuration        = configuration;
     _upstreamAppointments = upstreamAppointment;
 }