public void Send(MessageBase message) { //push ayarları yapılır MessageStates = MessageStates.Pending; try { PushMessage push = message as PushMessage; MessageStates = MessageStates.Sent; } catch (Exception ex) { MessageStates = MessageStates.Failed; throw ex; } }
public void Send(MessageBase message) { //push notify. ayarlari ayarlari yapilir MessageState = MessageStates.Pending; try { PushMessage push = message as PushMessage; MessageState = MessageStates.Sent; } catch (Exception ex) { MessageState = MessageStates.Failed; throw ex; } }