fssa-batch3 / fssa-batch3/sec_b_inbalokesh.esakkipandi__corejava_project_2

Delete user

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

Description

## Module: User

- [ ] Create User table
- [ ] Create User model

### Feature 3: Delete User

#### User Story
User can inactive his account

#### Pre-requisites:

- [ ] User DAO (delete)
- [ ] User Service (delete)

#### Validations:

- [ ] Form Validation
- id <= 0
- is active = 0

- [ ] Business Validation
- Check Id is present

#### Messages:
- [ ] User Id cannot be zero or below zero
- [ ] User not found

#### Flow:
```mermaid
graph TD;
A["User Service: Delete User"] --> B["Form Validation"]
B -- Valid --> C{Business Validation}
B -- Invalid--> G[Validation Exception]
C -- Valid --> D[Delete User]
C -- Invalid --> F[Validation Exception]
D --> E[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.