// Publish public bool Publish() { var publishedMessage = _messageController.PublishMessage(_messageDTO); if (publishedMessage == null) { return(false); } _messageDTO = publishedMessage.MessageDTO; return(true); }
public IMessage PublishMessage(IPublishMessageParameters publishMessageParameters) { return(ExecuteAuthenticatedUserOperation(() => _messageController.PublishMessage(publishMessageParameters))); }
public Task <ITwitterResult <ICreateMessageDTO> > PublishMessage(IPublishMessageParameters parameters) { _messagesClientParametersValidator.Validate(parameters); return(ExecuteRequest(request => _messageController.PublishMessage(parameters, request))); }
public IMessage PublishMessage(IMessage message) { return(StartLoggedUserOperation(() => _messageController.PublishMessage(message.MessageDTO))); }