結果 : why should we use repository pattern