Exemplo n.º 1
0
 public Task <List <ResourceAppointmentWithNavigationPropertiesDto> > GetListAsync([FromQuery] GetResourceAppointmentsInput input)
 {
     return(_resourceAppointmentAppService.GetListAsync(input));
 }
Exemplo n.º 2
0
        public virtual async Task <List <ResourceAppointmentWithNavigationPropertiesDto> > GetListAsync(GetResourceAppointmentsInput input)
        {
            var items = await _resourceAppointmentRepository.GetListWithNavigationPropertiesAsync(input.FilterText, input.AppointmentTypeMin, input.AppointmentTypeMax,
                                                                                                  input.StartDateMin, input.StartDateMax, input.EndDateMin, input.EndDateMax, input.Caption, input.Description, input.Location, input.LabelMin, input.LabelMax,
                                                                                                  input.StatusMin, input.StatusMax, input.AllDay, input.Recurrence, input.ResourceIdMin, input.ResourceIdMax, input.ResourceAppointmentIDMin, input.ResourceAppointmentIDMax,
                                                                                                  input.ResorceId);

            return(_objectMapper.Map <List <ResourceAppointmentWithNavigationProperties>, List <ResourceAppointmentWithNavigationPropertiesDto> >(items));
        }