コード例 #1
0
        public virtual void DeleteIdentityResourceById(int id)
        {
            var identityResource = m_identityResourceRepository.Load <IdentityResourceEntity>(id);

            try
            {
                m_identityResourceRepository.Delete(identityResource);
            }
            catch (ObjectNotFoundException)
            {
                throw new NoResultException <IdentityResourceEntity>();
            }
        }