Ejemplo n.º 1
0
 public Post GetPost(String postId)
 {
     try {
         return(metaWeblogProvider.GetPost(postId, _userName, Crypt.SecureStringToString(_password)));
     } catch (Exception e) {
         Utils.MsgBox("Error", e.Message);
     }
     return(null);
 }
Ejemplo n.º 2
0
 public Post GetPost(string postid, string username, string password)
 {
     _logger.LogInformation($"MetaWeblog:GetPost is called");
     return(_provider.GetPost(postid, username, password));
 }
 Post getPost(String postId)
 {
     return(_metaWeblogProvider.GetPost(postId, _userName, Crypt.SecureStringToString(_password)));
 }