fssa-batch3 / fssa-batch3/sec_b_mathivanan.pachiyappan__corejava_project_2

Remove candidate

Open
#12 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

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

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

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

C -- Yes --> D[Candidate DAO: Delete Candidate]
C -- No --> F[Candidate Service: Candidate Not Found]

D --> E[Candidate Service: Candidate 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.