mobile/src/main/kotlin/domain/useCases/ShoesUseCase.kt
localuser fa7ac61510 init
2025-02-03 16:02:46 +03:00

13 lines
437 B
Kotlin

package org.example.domain.useCases
import org.example.data.model.ShoesDTO
import org.example.domain.request.AddShoesRequest
import org.example.domain.response.ShoesResponse
interface ShoesUseCase {
fun addShoes(request: AddShoesRequest): ShoesResponse
fun getAllShoes(): List<ShoesDTO>
fun getShoesById(id: Int):ShoesDTO?
fun updateShoes(id: Int, updateShoes: ShoesDTO): ShoesResponse
fun delete(id: Int):Boolean
}