feat: refs#8678 ticketAdvance
This commit is contained in:
parent
612b2ac8f2
commit
12e5241a10
|
@ -2,6 +2,7 @@ package es.verdnatura.domain.userCases
|
|||
|
||||
import es.verdnatura.domain.SalixService
|
||||
import es.verdnatura.presentation.view.feature.packaging.model.NotificationQueue
|
||||
import es.verdnatura.presentation.view.feature.pasillero.model.WorkerActionSalix
|
||||
import retrofit2.Call
|
||||
|
||||
class GetItemFromBarcodeUseCase(private val salixService: SalixService) {
|
||||
|
@ -25,3 +26,9 @@ class NotiticationUseCase(private val salixService: SalixService) {
|
|||
return salixService.notificationQueues(notificationQueue)
|
||||
}
|
||||
}
|
||||
|
||||
class WorkerActivityUseCase(private val salixService: SalixService) {
|
||||
fun addWorkerActivity(workerActionSalix: WorkerActionSalix): Call<Any> {
|
||||
return salixService.workerActivityAdd(workerActionSalix)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue