fssa-batch3 / fssa-batch3/sec_b_mathivanan.pachiyappan__corejava_project_2

Delete user

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Feature: Delete User
>Delete user in a database.
#### Pre-requisites:
- [ ] Complete create User feature
- [ ] user table
- [ ] User DAO( delete User)
- [ ] User service ( delete (int user id) )
#### Validations:
- [ ] Form Validation
* delete ( User user )
* user id(>0)
- [ ] Business Validation
* check the user and delete
#### Messages:
* Invalid User Id input
* User not found
#### Flow:
```mermaid
graph TD;

A[User Service: Delete User] --> B[Form Validation]

B -- Yes --> C[Business Validation]
B -- No --> G[Throws Exception]

C -- Yes --> D[User DAO: Update User]
C -- No --> F[User Service: User Not Found]

D --> E[User Service: User Deleted]

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.