Interface IModelStore
public interface IModelStore
- Extension Methods
Methods
CreateAsync(Model)
Task<int> CreateAsync(Model model)
Parameters
model
Model
Returns
GetAsync(int)
Task<Model> GetAsync(int id)
Parameters
id
int
Returns
TryWriteAsync(Model)
Attempt to write model to persistent storage
Task<Model?> TryWriteAsync(Model model)
Parameters
model
ModelThe model to write