package Ġcom . rex ij ie . high school portal . service . impl Ċ Ċ import Ġcom . rex ij ie . high school portal . model . Subject Ċ import Ġcom . rex ij ie . high school portal . model . enums . Level Ċ import Ġcom . rex ij ie . high school portal . repository . Subject Repository Ċ import Ġcom . rex ij ie . high school portal . service . Subject Service Ċ import Ġorg . springframework . stereotype . Service Ċ import Ġreactor . core . publisher . Flux Ċ import Ġreactor . core . publisher . Mono Ċ Ċ @ Service Ċ class ĠSubject ServiceImpl ( private Ġval Ġsubject Repository : ĠSubject Repository ) Ġ: ĠSubject Service Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġfind Subject ById ( id : ĠString ): ĠMono < Subject > Ġ= Ġsubject Repository . findById ( id ) ĊĠĠĠ Ġoverride Ġfun Ġfind Sen ior Subject s (): ĠFlux < Subject > Ġ= Ġsubject Repository . find Subject sBy Level Equals ( Level . S EN IOR ) ĊĠĠĠ Ġoverride Ġfun Ġfind Jun ior Subject s (): ĠFlux < Subject > Ġ= Ġsubject Repository . find Subject sBy Level Equals ( Level . J UN IOR ) Ċ }