Пример #1
0
 public async Task RemoveAccountAsync(AmoAccountAuth account)
 {
     using var scope = scopeFactory.CreateScope();
     var db = scope.ServiceProvider.GetRequiredService <IAccountRepo>();
     await db.RemoveAmoAccount(await db.GetAmoAccountById(account.id));
 }