Using caching in Asp.Net Core Minimal APIs