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||0||Edit | Details | Delete|
|Programming||programming||0||Edit | Details | Delete|
|My Opinion||opinion||0||Edit | Details | Delete|
|Education||edu||0||Edit | Details | Delete|
|Vices and Foibles||vices||0||Edit | Details | Delete|
|Personal||personal||0||Edit | Details | Delete|
|Entertainment||entertain||0||Edit | Details | Delete|
|Business||biz||0||Edit | Details | Delete|