Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor UpdatePostCommandHandler to improve post updates
Refactored the `UpdatePostCommandHandler` class to enhance the `Handle` method by adding steps to update tags and categories before saving changes. Introduced `UpdateTags` method for tag processing and refactored it to use `tagString` parameter. Removed redundant calls to `UpdateCats`, `UpdateAsync`, `_cache.Remove`, and `_logger.LogInformation`. Ensured cache is cleared and log entry is created after updating the post.
- Loading branch information