public Post GetPost(String postId) { try { return(metaWeblogProvider.GetPost(postId, _userName, Crypt.SecureStringToString(_password))); } catch (Exception e) { Utils.MsgBox("Error", e.Message); } return(null); }
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))); }