async Task SendNotification(Message message) { // message alert await _notify.Notify(message); // inbox status change await _notify.UpdateInboxes(_inboxService.GetRootInboxes()); }
public IList <UserInboxModel> GetInboxTree() { var inboxes = _inboxService.GetRootInboxes(); return(inboxes.Select(i => _mapper.Map <UserInboxModel>(i)).ToList()); }