Ejemplo n.º 1
0
        public async Task <List <SpecialityDto> > GetSpecialitiesByNameAsync([FromQuery] int skip, [FromQuery] int take,
                                                                             [FromQuery] string name, CancellationToken cancellationToken)
        {
            var result = await _specialityService.GetSpecialitiesByNameAsync(skip, take, name, cancellationToken)
                         .ConfigureAwait(false);

            return(result);
        }