public async Task AddAccountAsync(DeviceAccount account)
        {
            if (account != null)
            {
                await _context.Accounts.AddAsync(account);

                await _context.SaveChangesAsync();
            }
        }
Ejemplo n.º 2
0
 public static void RaiseOnDeviceAccountAdded(DeviceAccount acc) =>
 OnDeviceAccountAdded?.Invoke(acc);