change State
Changes the state of an OffloadingService in the database based on its ID.
Parameters
service Id
the unique identifier that represents a specific OffloadingService in the table.
state
the new state to be set for the OffloadingService.