Exemple #1
0
 public void InsertPost(BlogPost newPost)
 {
     if (!string.IsNullOrEmpty(newPost.ID))
     {
         bData.OverWritePost(newPost);
     }
     else
     {
         bData.InsertPost(newPost);
     }
 }