feat: added endpoint DeleteProduct

- fix: adapters package updated
- fix: status property renamed
This commit is contained in:
2025-08-05 20:54:55 -06:00
parent a706f96bd8
commit 17c94d1095
5 changed files with 60 additions and 8 deletions

View File

@@ -73,5 +73,13 @@ namespace Core.Inventory.Provider.Contracts
/// <returns>A <see cref="{Task{ProductAdapter}}"/> representing
/// the asynchronous execution of the service.</returns>
ValueTask<ProductAdapter> RemoveTagFromProduct(string productId, string tagId, CancellationToken cancellationToken);
/// <summary>
/// Deletes a Product by its MongoDB identifier.
/// </summary>
/// <param name="productId">The Product MongoDB identifier.</param>
/// <returns>A <see cref="{Task{bool}}"/> representing
/// the asynchronous execution of the service.</returns>
ValueTask<bool> DeleteProduct(string productId, CancellationToken cancellationToken);
}
}