Interfaces
IRankService
Responsible for handling all instances of Rank.
Methods
CreateRank
Adds the given rank to the database.
Parameters
| Name | Type | Description |
|---|---|---|
| rank | Rank | The rank to create. |
Returns
| Name | Type |
|---|---|
| Rank | The created rank entity with an Id. |
UpdateRank
Updated the fields of the given rank.
Parameters
| Name | Type | Description |
|---|---|---|
| rank | Rank | The rank to update. |
Returns
| Name | Type |
|---|---|
| Rank | The updated rank. |
DeleteRank
Removes the given rank.
Parameters
| Name | Type | Description |
|---|---|---|
| rank | Rank | The rank to remove. |
Events
RankCreated
Fires when a rank has been created.
Type: EventHandler<Rank>
RankUpdated
Fires when a rank has been edited.
Type: EventHandler<Rank>
RankDeleted
Fires when a rank has been deleted.
Type: EventHandler<Rank>