Merge pull request 'feat: added endpoint DeleteProduct (service Layer)' (#5) from feature/create-Product-and-ProductTag-CRUD into development
Reviewed-on: #5 Reviewed-by: Sergio Matías <sergio.matias@agilewebs.com>
This commit is contained in:
		| @@ -151,6 +151,9 @@ namespace Core.Inventory.External.Clients | ||||
|         [Delete("/api/v1/Product/{productId}/tags/{tagId}")] | ||||
|         Task<ProductAdapter> RemoveTagFromProductAsync([FromRoute] string productId, [FromRoute] string tagId, CancellationToken cancellationToken = default); | ||||
|  | ||||
|         [Delete("/api/v1/Product/{id}")] | ||||
|         Task<bool> DeleteProductAsync([FromRoute] string id, CancellationToken cancellationToken = default); | ||||
|  | ||||
|         #endregion | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -5,7 +5,7 @@ namespace Core.Inventory.External.Clients.Requests | ||||
|         public string TenantId { get; set; } = null!; | ||||
|         public string ProductName { get; set; } = null!; | ||||
|         public string Description { get; set; } = null!; | ||||
|         public string Status { get; set; } = null!; | ||||
|         public string ProductStatus { get; set; } = null!; | ||||
|         public List<string> TagIds { get; set; } = new List<string>(); | ||||
|     } | ||||
| }  | ||||
		Reference in New Issue
	
	Block a user