17 lines
489 B
C#
17 lines
489 B
C#
|
// <copyright file="IInitialUserService.cs" company="alveus.dev">
|
||
|
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
|
||
|
// </copyright>
|
||
|
|
||
|
namespace Astral.Services.Interfaces;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Service responsible for creating the initial user if no other users exist.
|
||
|
/// </summary>
|
||
|
public interface IInitialUserService
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// If an initial user is required, then create it.
|
||
|
/// </summary>
|
||
|
Task CreateFirstUserIfRequiredAsync();
|
||
|
}
|