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{TenantAdapter}"/> representing the asynchronous execution of the service. | ||||
|         /// </returns> | ||||
|         ValueTask<TenantAdapter> ChangeTenantStatus(string _id, Blueprint.Mongo.StatusEnum newStatus, CancellationToken cancellationToken); | ||||
|         ValueTask<TenantAdapter?> ChangeTenantStatus(string _id, Blueprint.Mongo.StatusEnum newStatus, CancellationToken cancellationToken); | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Updates a Tenant. | ||||
| @@ -62,7 +62,7 @@ namespace Core.Thalos.Provider.Contracts | ||||
|         /// <returns> | ||||
|         /// A <see cref="ValueTask{TenantAdapter}"/> representing the asynchronous execution of the service. | ||||
|         /// </returns> | ||||
|         ValueTask<TenantAdapter> UpdateTenant(TenantAdapter entity, CancellationToken cancellationToken); | ||||
|         ValueTask<TenantAdapter?> UpdateTenant(TenantAdapter entity, CancellationToken cancellationToken); | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Deletes a Tenant by its identifier. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user