protected IResourceService <TResource>?GetService(IResponse response) { var type = response.GetContentType(); return(_context.GetResourceService <TResource>(type.Content)); }