I am following Pluralsight to learn Web API concepts. I'm trying to map Book entity to the Book DTO object which is defined inside Models folder. But, I am getting below error.
I'm getting error like:
An object reference is required for the non-static field, method, or property 'Mapper.Map(object)'
I could not get much help from google as well. When googled for the same, I found two similar questions here, and here. There, I felt sense but I am not understanding how to apply the same rule in my case.
Can anyone please help me to resolve the issue!