repository destroy method only requires id