public async Task <List <RightDto> > GetRightList() { return(await _rightRepository.GetAll().ProjectTo <RightDto>(_mapper.ConfigurationProvider).ToListAsync()); }
public async Task <List <RightDto> > GetRightList() { return(await _rightRepository.GetAll().ProjectTo <RightDto>(_mapper.ConfigurationProvider).ToListAsync()); }