The Democratic elections commissioner of upstate Onondaga County has been accused of driving for ride-sharing services Uber and Lyft during his regular business hours, according to reports.

Republican county Comptroller Matthew Beadnell leveled the allegation against Dustin Czarny, who he said spent 94 hours driving for the companies while he was supposed to be working at the Board of Elections, according to the Post-Standard of Syracuse.

Czarny “should not be earning outside income during business hours,’’ said Beadnell, who is running for election in November.

In response to a subpoena, Uber and Lyft provided Czarny’s work history for an 18-month period ending in March 2019, said Beadnell, who estimated that the county paid Czarny about $5,100 for the 94 hours — or roughly 3 percent of his total county work time during that period.

“When he should have been working for us as a taxpayer, he was out working for himself earning an extra income during a time when we’re paying his salary. So, I’m concerned,” Beadnell said, according to WAER.

Czarny said almost all of his ride-share driving has been at night, but that he has picked up a ride during a weekday, the Post-Standard reported.

He added that his job gives him the flexibility to work through his lunch hour or into the evening if he needs to make up time for hitting the road.

“I routinely work 45, 50, 60 hours a week, many times working nights and weekends. There’s been flexibility in this job since my entire time here. I don’t think anyone in the community who knows my work believes I work an 8:30-to-4:30 job,” he said.

Czarny, who makes $98,753 a year as elections commissioner, is serving his fourth two-year term in the job, which he has held since January 2013.

The position requires a minimum of 35 hours of work a week, Beadnell said, adding that Czarny is free to moonlight during evenings and weekends but not during the hours designated for his full-time gig.

Beadnell said he also informed county Republican Party chairman Tom Dadey on the matter.

He said he understands that his allegations could be deemed politically motivated because Czarny is a Democrat, but insisted that he would have conducted a similar probe against Republican elections chief Michelle Sardo if the same circumstances had arisen.