I .
used as a polite reply to an expression of thanks :
'Thanks very much for your help.' 'Not at all, it was a pleasure.'
II .
used to politely accept thanks or to agree to sth :
'Thanks a lot.' 'Not at all.'
'Will it bother you if I smoke?' 'Not at all.'