Exemplo n.º 1
0
        public async Task SeedAdminUserDataAsync()
        {
            if (await GetByUsernameAsync("admin") is null)
            {
                var username = "******";
                var password = Crypto.HashPassword("imredone");

                await _adminUserRepository.InsertAsync(username, password);
            }
        }