public ServiceResult <bool> DeleteMessage(DeleteMessageIM model) { bool result = false; try { result = MessagesComponent.DeleteMessage(model.Id, this.GetUser().Id); } catch (Exception ex) { _log.Error(string.Format("DeleteMessage:{0}", ex)); } return(new ServiceResult <bool> { Data = result }); }
public bool DeleteMessage(string id, Guid merchantAccountId) { return(MessagesComponent.DeleteMessage(id, merchantAccountId)); }