Esempio n. 1
0
        //TODO: CREATE SERVICE
        protected override async Task <string> GetCurrentUserPrincipalName()
        {
            var me = await _queryResolver.GetCurrentUser();

            return(me.PrincipalName);
        }
Esempio n. 2
0
        public async Task <IEnumerable <NotificationInfo> > ExecuteAsync(NotificationsQuery query)
        {
            var me = await _queryResolver.GetCurrentUser();

            return(await _repository.GetInbox(me, query.Status));
        }