TheCSharpAcademy / CONSOLE.PointOfSale

6 stars 15 forks source link

Delete Product Functionality #76

Open TheCSharpAcademy opened 10 months ago

TheCSharpAcademy commented 10 months ago

In the context of an e-commerce, products shouldn't be deleted. Deleting a product would delete or corrupt all data related to it. Instead we should "soft delete" it.

Tasks: Add a "isActive" bool to the product and create the methods in the controller and user interface accordingly.

Experience Points: 25

Doc415 commented 10 months ago

should we update all retrieve methods accordingly?

TheCSharpAcademy commented 10 months ago

should we update all retrieve methods accordingly?

yes, please. I hadn't thought of that, thank you 😊

CarDioLogic commented 10 months ago

Hey, I had already assigned this task to me on the c# academy (I just was not able to assign it sooner on github). xD But you can keep it, its ok. I should have assigned it earlier to me here.

Doc415 commented 10 months ago

Hey, I had already assigned this task to me on the c# academy (I just was not able to assign it sooner on github). xD But you can keep it, its ok. I should have assigned it earlier to me here.

I have unassigned myself. You should go on. I ll take another issue. Goodluck

CarDioLogic commented 10 months ago

Okay then. Thanks.