public SendMessage PostSelfDel(ChatMessage newUser) { return(chatService.MessageForDeleteUserSelf(newUser, User.Identity.Name)); }
public SendMessage PostAddUserToChat(ChatMessage newUser) { return(chatService.MessageForAddUser(newUser, User.Identity.Name)); }
public SendMessage Post(ChatMessage message) { return(chatService.MessageSendedMessage(message, User.Identity.Name)); }