I am using .net core MVC 2.1. I amtrying to use ImemoryCache Get method
I looked at the Get method response and seems its async. It returns object and does not allow me to put obj.Result also.
When I see the documentation No where in the sample the response is async.
Why am I getting this issue?

Because the data in memory is
Task<List<ApplicationConfigurationKeyPairModel>>but according to your code, you want to get it asIList<ApplicationConfigurationKeyPairModel>without convert from Task value to normal value.So if you want to get it normally without error, you shall do it like this:
Then you can check what type of
valueis and convert it to list by usingvalue.Result.