よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public bool SaveMessage(string message, int receiverId, int senderId) { Model.Message modelMessage = new Model.Message(); modelMessage.Messages = message; modelMessage.ReceiverId = receiverId; modelMessage.SenderId = senderId; modelMessage.Seen = false; modelMessage.SendReceive = MessageHelper.MESSAGE_SEND; return(_messageService.SaveMessage(MessageMapper.ConvertToEntity(modelMessage))); }