コード例 #1
0
            public async Task <IEnumerable <ServiceOccasionVm> > Handle(ListServiceOccasionsForCarQuery request, CancellationToken cancellationToken)
            {
                var data = await serviceOccasionsStore.GetServiceOccasionForCar(request.FleetId, request.CarId, cancellationToken);

                return(mapper.Map <IEnumerable <ServiceOccasionVm> >(data));
            }