Add isActive boolean flag in the Customer table #130#132
Add isActive boolean flag in the Customer table #130#132ShraiyaShah wants to merge 1 commit intojaygajera17:master2from
Conversation
abdurraffaysyed
left a comment
There was a problem hiding this comment.
Hi @ShraiyaShah,
Shouldn't the endpoint be named as deleteCustomer instead of deleteUser. As we are dealing with the Customers so I was thinking deleteCustomer would be more meaningful here. What do you say?
|
Hi, Thank you for raising the point. I have used "User" because in update method "updateUser" is used. |
abdurraffaysyed
left a comment
There was a problem hiding this comment.
Hi @ShraiyaShah,
Correct me if I am wrong, according to the current implementations once the admin De-Activates a customer then as expected that customer won't be visible on the UI. If that customer is not visible then how will the Admin be able to Activate that customer again?
|
Hi, @abdurraffaysyed |
|
@ShraiyaShah, |

A new field in User "isActive" to describe the status of the user handled by Admin through "displayCustomer" page. It imitates Soft delete of the user.