added out param to IRepository to return the UserId of the user that has been created/updated.
This commit is contained in:
parent
83cef61519
commit
29cc798097
@ -63,6 +63,7 @@
|
|||||||
/// <see cref="IdentifierList"/> with nested <see cref="Identifier"/> list
|
/// <see cref="IdentifierList"/> with nested <see cref="Identifier"/> list
|
||||||
/// </returns>
|
/// </returns>
|
||||||
IdentifierList GetUnassignedIdentifierList();
|
IdentifierList GetUnassignedIdentifierList();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Update a user in the system with the new values.
|
/// Update a user in the system with the new values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -73,10 +74,13 @@
|
|||||||
/// <see cref="User"/> object detailing the new properties to assign to the user.
|
/// <see cref="User"/> object detailing the new properties to assign to the user.
|
||||||
/// The Id Field should not be changed, or should be -1 for new users.
|
/// The Id Field should not be changed, or should be -1 for new users.
|
||||||
/// </param>
|
/// </param>
|
||||||
|
/// <param name="userId">
|
||||||
|
/// int - ref param, value will be the UserId of the inserted or updated user
|
||||||
|
/// </param>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// <see cref="OperationResponse"/> to indicate procedure status.
|
/// <see cref="OperationResponse"/> to indicate procedure status.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
OperationResponse UpdateUser(User user);
|
OperationResponse UpdateUser(User user, out int userId);
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Create a new TimeLog Event in the repository.
|
/// Create a new TimeLog Event in the repository.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user