コード例 #1
0
        public void RemoveAuth(AuthorityType e, User user)
        {
            var ele = TimeAxisAuthority.FirstOrDefault(x => x.AuthorityType == e && x.User.Id == user.Id);

            if (ele != null)
            {
                TimeAxisAuthority.Remove(ele);
            }
        }
コード例 #2
0
 public void RemoveAuth(TimeAxisAuthority e)
 {
     TimeAxisAuthority.Remove(e);
 }