Table of Contents

Class AccountService

Namespace
Pillars.Core.Accounts.Services
Assembly
Pillars.dll

The account service handles the database CRUD operations.

public sealed class AccountService
Inheritance
AccountService
Inherited Members

Constructors

AccountService(ILogger)

The account service handles the database CRUD operations.

Methods

CreateAccount(ulong)

Creates an empty account using the discordId. Does NOT check for existance of an already created account.

GetAccountAsync(string)

Returns the a possible account for a given accountId. Returns null on error if no account is present.

GetAccountAsync(ulong)

Returns the a possible account for a given discordId. Returns null on error if no account is present.