Exemple #1
0
 public TEntity AddEntityAsync <TContext, TEntity>(TContext context, TEntity entity, bool saveChanges = false) where TEntity : BaseField
 {
     entity = _persistence.AddEntityAsync(context: _context, entity: entity, saveChanges: saveChanges);
     return(entity);
 }