protected virtual async Task <string> RunAsDefaultUserAsync() { return(await Testing.RunAsDefaultUserAsync(Scope)); }
protected virtual async Task AddAsync <TEntity>(TEntity entity) where TEntity : class { await Testing.AddAsync <TEntity>(entity, Scope); }
protected virtual async Task <TResponse> SendAsync <TResponse>(IRequest <TResponse> request) { return(await Testing.SendAsync <TResponse>(request, Scope)); }
protected virtual async Task <TEntity> FindAsync <TEntity>(int id) where TEntity : class { return(await Testing.FindAsync <TEntity>(id, Scope)); }