ModelWrapper is a set of tools for enriching model object manipulation, allowing all data sent to the server to be captured by WrapRequest<TModel>, feeding the model object (TModel) and allowing all other information to be extracted and used by extended functionality. - isilveria.
ModelWrapper came up to simplify the use of ViewModels by creating a base class that should be used in the project's ViewModels allowing ViewModel to have all of the entity's original attributes, as well as extend functionality to ViewModel.
WrapRequest<Model> - Base class for request ViewModels that extends all entity properties (TModel) and implements features like HTTP basic verbs.
WrapResponse<Model> - Response ViewModels base class that extends all entity properties (TModel) that have been set to return and implements methods to get typed return data.
...
PM> Install-Package ModelWrapper -Version 3.0.0
> dotnet add package ModelWrapper --version 3.0.0
> paket add ModelWrapper --version 3.0.0
All files are released with the MIT license.