Compare commits

..

No commits in common. "9d01b557ce55df2cb1b1dd8a1ef5094c110b0c55" and "7a7fde5fc0fbad5089fdda68a500aa7274e9883b" have entirely different histories.

1 changed files with 1 additions and 2 deletions

View File

@ -546,9 +546,8 @@ namespace IRaCIS.Application.Services
var self = result.Where(x => x.VisitTaskId == inDto.VisitTaskId).FirstOrDefault();
Random random = new Random();
var otherList = result.Where(x => x.VisitTaskId != inDto.VisitTaskId).OrderBy(x => random.Next()).ToList();
var newList = new List<GetRelatedVisitTaskOutDto>() { };
var newList = new List<GetRelatedVisitTaskOutDto>() { self };
newList.AddRange(otherList);
newList.Add(self);
result = newList;
break;