Merge pull request 'feat: added endpoint DeleteProduct (DAL)' (#5) from feature/create-Product-and-ProductTag-CRUD(DAL) into development

Reviewed-on: #5
Reviewed-by: Sergio Matías <sergio.matias@agilewebs.com>
This commit is contained in:
2025-08-06 17:53:58 +00:00
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);
}
}