ASP.Net Core Using the Decorator Pattern