/// <summary/> public async Task DeleteEntity(Guid entityId, bool autoSave = true) { var entity = _dbContext.Find(typeof(TEntity), entityId); _dbContext.Remove(entity); if (autoSave) { await Save(); } }