Пример #1
0
        public async Task<IEnumerable<RotationDto>> GetAsync(string type)
        {
            var rotations = await _rotation.GetAsync(type);

            return _mapper.Map<IEnumerable<Rotation>, IEnumerable<RotationDto>>(rotations);
        }