//TODO: CREATE SERVICE protected override async Task <string> GetCurrentUserPrincipalName() { var me = await _queryResolver.GetCurrentUser(); return(me.PrincipalName); }
public async Task <IEnumerable <NotificationInfo> > ExecuteAsync(NotificationsQuery query) { var me = await _queryResolver.GetCurrentUser(); return(await _repository.GetInbox(me, query.Status)); }