public async Task <ListModel <BloodTransfusionModel> > Handle(GetBloodTransfusionsListQuery request, CancellationToken cancellationToken)
            {
                var defaultSort = BuildSortList <BloodTransfusion>(i => i.BloodTransfusionId);

                return(await RetrieveListResults <BloodTransfusion, BloodTransfusionModel>(null, defaultSort, request, cancellationToken));
            }
 public async Task <ActionResult <ListModel <BloodTransfusionModel> > > GetAll([FromQuery] GetBloodTransfusionsListQuery request)
 {
     return(Ok(await Mediator.Send(request)));
 }