public async Task <IEnumerable <ProcessInfoDto> > GetProcessInformationAsync([FromBody] ISet <int> artifactIds) { if (artifactIds == null) { throw new BadRequestException(ErrorMessages.ArtifactTypeIdsNotValid); } return(await _artifactRepository.GetProcessInformationAsync(artifactIds, Session.UserId)); }