Avoid null values in module and change status services
This commit is contained in:
		| @@ -52,7 +52,7 @@ namespace Core.Thalos.Provider.Contracts | ||||
|         /// <returns> | ||||
|         /// A <see cref="ValueTask{RoleAdapter}"/> representing the asynchronous execution of the service. | ||||
|         /// </returns> | ||||
|         ValueTask<RoleAdapter> ChangeRoleStatus(string _id, Core.Blueprint.Mongo.StatusEnum newStatus, CancellationToken cancellationToken); | ||||
|         ValueTask<RoleAdapter?> ChangeRoleStatus(string _id, Core.Blueprint.Mongo.StatusEnum newStatus, CancellationToken cancellationToken); | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Updates a Role. | ||||
| @@ -62,7 +62,7 @@ namespace Core.Thalos.Provider.Contracts | ||||
|         /// <returns> | ||||
|         /// A <see cref="ValueTask{RoleAdapter}"/> representing the asynchronous execution of the service. | ||||
|         /// </returns> | ||||
|         ValueTask<RoleAdapter> UpdateRole(RoleAdapter entity, CancellationToken cancellationToken); | ||||
|         ValueTask<RoleAdapter?> UpdateRole(RoleAdapter entity, CancellationToken cancellationToken); | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Adds an application to the Role's list of applications. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user