Merge pull request #3664 from Bond-009/createuserasync

Make CreateUser async
This commit is contained in:
Joshua M. Boniface
2020-07-23 18:08:29 -04:00
committed by GitHub
4 changed files with 30 additions and 24 deletions

View File

@@ -54,7 +54,7 @@ namespace MediaBrowser.Controller.Library
/// <summary>
/// Initializes the user manager and ensures that a user exists.
/// </summary>
void Initialize();
Task InitializeAsync();
/// <summary>
/// Gets a user by Id.
@@ -105,7 +105,7 @@ namespace MediaBrowser.Controller.Library
/// <returns>The created user.</returns>
/// <exception cref="ArgumentNullException">name</exception>
/// <exception cref="ArgumentException"></exception>
User CreateUser(string name);
Task<User> CreateUserAsync(string name);
/// <summary>
/// Deletes the specified user.