Converting to Async
This commit is contained in:
@@ -7,27 +7,13 @@ public class DefaultDatabaseHandler : ISzDatabaseHandler
|
||||
public bool InternetAllowed { get; set; } = true;
|
||||
public Dictionary<string, string> SzDbUrls { get; set; } = [];
|
||||
|
||||
public SzDataset? TryRetrieveDataset(Guid uuid)
|
||||
public Task<SzDataset?> TryRetrieveDatasetAsync(Guid uuid, CancellationToken ct = default)
|
||||
{
|
||||
SZ.Logger.LogWarning("The default database helper is not implemented yet");
|
||||
return null;
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<SzDataset?> TryRetrieveDatasetAsync(Guid uuid)
|
||||
public Task<ISzTemplate?> TryRetrieveTemplateAsync(Guid uuid, CancellationToken ct = default)
|
||||
{
|
||||
SZ.Logger.LogWarning("The default database helper is not implemented yet");
|
||||
return null;
|
||||
}
|
||||
|
||||
public ISzTemplate? TryRetrieveTemplate(Guid uuid)
|
||||
{
|
||||
SZ.Logger.LogWarning("The default database helper is not implemented yet");
|
||||
return null;
|
||||
}
|
||||
|
||||
public Task<ISzTemplate?> TryRetrieveTemplateAsync(Guid uuid)
|
||||
{
|
||||
SZ.Logger.LogWarning("The default database helper is not implemented yet");
|
||||
return null;
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user