feat: add fnOS packaging, storage workflows and release pipeline
This commit is contained in:
@@ -106,12 +106,12 @@ namespace dy.net.repository
|
||||
/// <returns></returns>
|
||||
public async Task<bool> UseTranAsync(Func<Task> action, Action<Exception> errorCallBack)
|
||||
{
|
||||
var res = Db.Ado.UseTranAsync(async () =>
|
||||
{
|
||||
await action();
|
||||
}, errorCallBack: errorCallBack);
|
||||
var res = await Db.Ado.UseTranAsync(async () =>
|
||||
{
|
||||
await action();
|
||||
}, errorCallBack: errorCallBack);
|
||||
|
||||
return res.IsCompletedSuccessfully;
|
||||
return res.IsSuccess;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user