Let say the question is:
So this ended up not working?
What is the proper way to say, this indeed not work?
These two seem fine to me:
Yes, it did not.
or
No, it did not.
Are they both right? Or does one of them have different meaning. Is there any difference between the two phrases?