Exemple #1
0
        public async Task <Invite> GetByUserAsync(int idUser)
        {
            var userId = _logged.GetUserLoggedId();

            var invites = await _inviteRepository
                          .GetByUserAsync(userId)
                          .ConfigureAwait(false);

            if (invites is null)
            {
                return(default);