Interface IInsertViewModelService<T, TInsert>
Represents a service for inserting view models.
public interface IInsertViewModelService<T, TInsert> : IViewModelService<T> where T : class where TInsert : class
Type Parameters
T
The type of the view model.
TInsert
The type of the entity to be inserted.
Properties
- EntityService
Gets the entity service for inserting entities.
Methods
- GetInsert(IPropertyValues, CancellationToken)
Gets the insert view model based on the provided property values.
- Insert(TInsert, CancellationToken)
Inserts the specified entity.