private void AddBlogTag(Blog blog, List <string> tags)
 {
     if (blog.Id > 0)
     {
         _blogTagRepository.DeleteMulti(x => x.BlogId == blog.Id);
     }
     else
     {
         blog.BlogTags = new List <BlogTag>();
     }
     if (tags.Count > 0)
     {
         foreach (var newTag in tags)
         {
             var tag = new BlogTag();
             tag.Tag = newTag;
             blog.BlogTags.Add(tag);
         }
     }
 }