Add operation executor
This commit is contained in:
@ -7,7 +7,7 @@ namespace Hcs.WebApp.Services
|
||||
{
|
||||
private readonly IDbContextFactory<HcsDbContext> factory = factory;
|
||||
|
||||
public async Task<IEnumerable<Registry>> GetAllRegistries(bool isCommon)
|
||||
public async Task<IEnumerable<Registry>> GetAllRegistriesAsync(bool isCommon)
|
||||
{
|
||||
using var context = factory.CreateDbContext();
|
||||
return await (from registry in context.Registries
|
||||
|
||||
Reference in New Issue
Block a user