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|
|About Me||about||3||Edit | Details | Delete|
|Programming||programming||4||Edit | Details | Delete|
|My Opinion||opinion||5||Edit | Details | Delete|
|Education||edu||2||Edit | Details | Delete|
|Vices and Foibles||vices||3||Edit | Details | Delete|
|Personal||personal||7||Edit | Details | Delete|
|Entertainment||entertain||2||Edit | Details | Delete|
|Business||biz||2||Edit | Details | Delete|