def METHOD_NAME(self, app: web.Application):
    router = app.router
    router.add_get('/schedules', self.get_schedules)
    router.add_get('/schedules/{id}', self.get_schedule_by_id)
    router.add_post('/schedules', self.create_schedule)
    router.add_patch('/schedules/{id}', self.update_schedule)
    router.add_put('/schedules/{id}', self.create_or_update_schedule)
    router.add_delete('/schedules/{id}', self.delete_schedule)