Пример #1
0
        public bool BlockMember(string m_account)
        {
            var blockMember = _memberRepo.GetMemberByAcc(m_account);

            if (blockMember != null)
            {
                return(_memberRepo.BlockMember(blockMember));
            }
            return(false);
        }
Пример #2
0
        public bool BlockMember(string m_account)
        {
            var blockMember = MemberRepo.GetMemberByAcc(m_account);

            if (blockMember != null)
            {
                var result = MemberRepo.BlockMember(blockMember);
                return(result);
            }
            return(false);
        }