public AxisDto GetAxis(EntityDto <int> input) { var entity = _axisRepository.Get(input.Id); if (!_authorityManager.HasAuthority(AbpSession.GetUserId(), entity, AuthorityType.View)) { Throw403Error(); } return(Mapper.Map <AxisDto>(entity)); }
public AxisDto GetAxis(EntityDto <int> input) { var entity = _axisRepository.Get(input.Id); if (!_authorityManager.HasAuthority(AbpSession.GetUserId(), entity, AuthorityType.View)) { Throw403Error(); } return(Mapper.Map <AxisDto>(entity)); }