import { ResetPasswordAccountLogicController } from '@btcp/bootcamp-interfaceadapters' ; import { ResetPasswordAccountsRequestMessage } from '@btcp/bootcamp-blogic' ; import { IControllerFacede } from '../../shared/interfaces/controller-facede.interface' ; import { ResetPasswordDto } from '../dto/reset-password.dto' ; export class ResetPasswordAccountFacade extends IControllerFacede < ResetPasswordAccountLogicController > { public async exec ( resetPasswordDto ) { const controller = this . _factory . create ( ) ; await controller . resetPassword ( ResetPasswordDto . toMessage ( resetPasswordDto ) ) ; } }