This is a demonstration of GenericServices' database CRUD (Create, Read, Update/Edit and Delete) services done synchronously, i.e no wait states to improve web site capacity. (See Tags Async for async versions of the same commands).
Below you will see a table of Tags which can be manipulated. Tags are really simple so we use the direct GenericServices rather than the DTO GenericServices used for Posts.
However we do use a simple dto in the list to show how many posts use the tag. Also note that a validation check is done inside the EF SaveChanges methed to ensure that the slug is unique.
Name | Slug | Num Posts Used In |
---|