package Ġuse case . use cases . logo Ċ Ċ import Ġdomain . Logo NotFoundException Ċ import Ġdomain . entity . ResourceType Ċ import Ġdomain . repository . Resource Repository Ċ import Ġuse case . model . Default Response Ċ import Ġuse case . model . Delete Logo Request Ċ import Ġuse case . use cases . Auth Use case Ċ import Ġuse case . use cases . common . delete File Ċ import Ġuse case . use cases . common . sus pended Tx Ċ Ċ class ĠDelete Logo Use case Ġ( ĊĠĠĠ Ġprivate Ġval Ġrepository : ĠResource Repository Ċ ) Ġ: ĠAuth Use case < Delete Logo Request , ĠDefault Response >() Ġ{ ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġexecutor ( request : ĠDelete Logo Request ): ĠDefault Response Ġ{ ĊĊĠĠĠĠĠĠĠ Ġrepository . find ByName And Type ( request . name , ĠResource Type . LOG O ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠLogo NotFoundException () ĊĊĠĠĠĠĠĠĠ Ġdelete File (" environment . upload Dir / logo /${ request . name }") ĊĊĠĠĠĠĠĠĠ Ġsus pended Tx Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrepository . delete ByName And Type ( request . name , ĠResource Type . LOG O ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġreturn ĠDefault Response (" ë¡ľ ê³ł ê°Ģ ĠìĦ± ê³µ ìłģìľ¼ë¡ľ ĠìĤ Ń ìłľ ëĲĺ ìĹĪ ìĬµëĭĪëĭ¤ .") ĊĠĠĠ Ġ} Ċ }