// 列表
        public async Task <IActionResult> List(QueryInterviewInput input)
        {
            if (CustomSetting.DefaultOnlySeeMyselfData && !input.CreatorUserId.HasValue)
            {
                input.CreatorUserId = UserIdentifier.UserId;
            }

            var output = await _interviewQuerier.GetListAsync(input);

            var model = new QueryInterviewViewModel()
            {
                Output = new PaginationModel <InterviewDto>(output, input)
            };

            return(await BuildListDisplayAsync(model));
        }
        private async Task <IActionResult> BuildListDisplayAsync(QueryInterviewViewModel model)
        {
            var jobs = await _jobQuerier.GetJobsAsync();

            if (jobs != null)
            {
                model.Jobs = jobs.Select(s => new SelectListItem()
                {
                    Value = s.Id.ToString(),
                    Text  = s.Title
                }).ToList();
            }
            var users = await _userQuerier.GetUsersAsync();

            if (users != null)
            {
                model.Users = users.Select(s => new SelectListItem()
                {
                    Value = s.Id.ToString(),
                    Text  = s.FullName
                }).ToList();
            }
            return(View(model));
        }