using nsubstitute to mock dbset
I thought this is going to be a one off thing until i realized that i have to do this quite often. Using nsubtitute to mock my database layer.
So here are the codes that i wanna share, as i know it is going to be the same (most of the time)
Comments