The ResponseWrapper package offers a streamlined solution for creating and managing API responses in .NET applications.
This package was developed by Hm Ahsan Joyia and the access link is:
ResponseWrapper nuget package link
This code is part of an article I wrote on LinkedIn based on the article Article by the package author himself.