Exemple #1
0
        public async Task AddOrActivateParticipant(Guid projectId, Guid userId, Guid roleId)
        {
            var  name_text = User.Identity.Name;
            Guid user_Id   = (Guid)ur.GetID(name_text);
            await _userActionRepository.AddOrActivateParticipantAsync(user_Id, name_text, projectId, userId, roleId);

            await this._participantsRepository.AddOrActivateParticipant(projectId : projectId, userId : userId, roleId : roleId);
        }