Esempio n. 1
0
        /// <summary>
        /// Get include job ids
        /// </summary>
        /// <returns></returns>
        private string GetIncludeJobIds()
        {
            SetUserMockSessionForJob(_jobParameter.CreatedBy);
            var jobids = _analyticProject.GetIncludeJobList(_jobParameter.Id);

            if (!jobids.Any())
            {
                return(string.Empty);
            }
            var jobs = jobids.Where(jobid => jobid != WorkAssignment.JobId).ToList();

            return((jobs.Any()) ? string.Join(",", jobs.ToList()) : string.Empty);
        }