PlayStation_App.Database.UserAccountDatabase.CreateAccountUser C# (CSharp) Method

CreateAccountUser() public method

public CreateAccountUser ( AccountUser user ) : Task
user PlayStation_App.Models.Authentication.AccountUser
return Task
        public async Task<int> CreateAccountUser(AccountUser user)
        {
            using (var db = new UserAccountDataSource(Platform, DbLocation))
            {
               return await db.AccountUserRepository.Create(user);
            }
        }