IService(TModel).Add Method

Template MVC

IServiceTModelAdd Method

Add an entity based on the passed model and insert it on database

Namespace:  Template.Service.Core.Interface
Assembly:  Template.Service (in Template.Service.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
void Add(
	TModel model
)

Parameters

model
Type: TModel
The model to convert in a entity
See Also