Simple Service
fun <out R : SimpleRepository<I, E>, out Mapper : SimpleMapper<I, E, M, D>> SimpleService(typeName: String, instantProvider: InstantProvider, repository: R, mapper: Mapper)(source)
Parameters
I
Id type of the data
E
Entity type of the data which is a SimpleEntity
M
Model type of the data which is a SimpleModel
D
DTO type of the data which is a SimpleDTO
R
Repository type of the data which is a SimpleRepository
Mapper
Mapper type of the data which is a SimpleMapper