set NotFoundException in Controllers