public HandlerAction OnAddPlainEmail(Message message) { AddPlainEmailRes response = (AddPlainEmailRes)message.Protocol; Guid guid = new Guid(); if (response.guid == null || response.guid.Length == 0) { guid = new Guid(BigEndianTransfer.GUIDToBytes(response.guid)); } clientHelper.OnAddPlainEmail(response.result, guid, response.callback); return(HandlerAction.TERMINAL); }