Interface IEditViewModelService<T, TEdit>
Represents a service for editing view models.
public interface IEditViewModelService<T, TEdit> : IViewModelService<T> where T : class where TEdit : class
Type Parameters
T
The type of the view model.
TEdit
The type of the edit model.
Properties
- EntityService
Gets the entity service for editing.
Methods
- GetEdit(PrimaryKeys<T>, CancellationToken)
Gets the edit model for the specified primary keys.
- Update(TEdit, CancellationToken)
Updates the entity with the specified edit model.