public ReservationsController(LibraryDataContext context, IMapper mapper, MapperConfiguration config, ILogReservations reservationLogger) { _context = context; _mapper = mapper; _config = config; _reservationLogger = reservationLogger; }