예제 #1
0
 public Task <List <ConsultatieWithNavigationPropertiesDto> > GetListAsync([FromQuery] GetConsultatiiInput input)
 {
     return(_consultatieAppService.GetListAsync(input));
 }
예제 #2
0
        public virtual async Task <List <ConsultatieWithNavigationPropertiesDto> > GetListAsync(GetConsultatiiInput input)
        {
            var items = await _consultatieRepository.GetListWithNavigationPropertiesAsync(input.FilterText, input.DataMin, input.DataMax, input.LoculConsultatiei,
                                                                                          input.Simptome, input.Diagnostic, input.Cod, input.Prescriptii, input.ZileConcediuRecomandateMin, input.ZileConcediuRecomandateMax, input.PatientId,
                                                                                          input.ResourceId, input.IsConsultPsihologic, input.DetaliiPsiholog);

            return(_objectMapper.Map <List <ConsultatieWithNavigationProperties>, List <ConsultatieWithNavigationPropertiesDto> >(items));
        }