示例#1
0
        public async Task <ValueResponse <IEnumerable <EquipmentRequest> > > FindRequestsByOperationIdAsync(Guid id)
        {
            var requests = await _repository
                           .FindAllRequestsAsync(r => r.Operation.Id == id);

            return(new ValueResponse <IEnumerable <EquipmentRequest> >(requests));
        }