Skip to content

Commit

Permalink
Update column default and remove Questionnaire
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaed Parkar committed Sep 11, 2023
1 parent 4542005 commit da33b9f
Show file tree
Hide file tree
Showing 33 changed files with 1,528 additions and 271 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public class HearingDetailsResponse
/// <summary>
/// QuestionnaireNotRequired
/// </summary>
[Obsolete("This property is no longer used.")]
public bool QuestionnaireNotRequired { get; set; }

/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions BookingsApi/BookingsApi.DAL/Commands/RemoveHearingCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ public async Task Handle(RemoveHearingCommand command)
var hearingsIncCloned = await _context.VideoHearings
.Include(x => x.HearingCases).ThenInclude(x => x.Case)
.Include(x => x.Participants).ThenInclude(x => x.Person).ThenInclude(x => x.Organisation)
.Include(x => x.Participants).ThenInclude(x => x.LinkedParticipants)//.ThenInclude(x => x.Participant)
.Include(x => x.Participants).ThenInclude(x => x.Questionnaire).ThenInclude(x => x.SuitabilityAnswers)
.Include(x => x.Participants).ThenInclude(x => x.LinkedParticipants)
.Include(x => x.Endpoints).ThenInclude(x => x.DefenceAdvocate)
.Include(x=> x.JudiciaryParticipants).ThenInclude(x=> x.JudiciaryPerson)
.Where(x => x.Id == command.HearingId || x.SourceId == command.HearingId).ToListAsync();
Expand Down

This file was deleted.

Loading

0 comments on commit da33b9f

Please sign in to comment.