fssa-batch3 / fssa-batch3/sec_b_mathivanan.pachiyappan__corejava_project_2

End election

Open
#9 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: Delete Election
>Delete Election in a database.
#### Pre-requisites:
- [ ] Complete create election feature
- [ ] election table
- [ ] Election DAO( delete Election )
- [ ] Election service ( delete (int election Id) )
#### Validations:
- [ ] Form Validation
* delete ( Election election)
* election Id(>0)
- [ ] Business Validation
* check the election and delete
#### Messages:
* Invalid election Id
* election not found
#### Flow:
```mermaid
graph TD;

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

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

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

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