import { Criteria } from '../../../Shared/domain/criteria/Criteria' ; import { BackofficeCourse } from './BackofficeCourse' ; export interface BackofficeCourseRepository { searchAll ( ) : Promise < Array < BackofficeCourse > > ; save ( course ) : Promise < void > ; matching ( criteria ) : Promise < Array < BackofficeCourse > > ; }