public bool BlockMember(string m_account) { var blockMember = _memberRepo.GetMemberByAcc(m_account); if (blockMember != null) { return(_memberRepo.BlockMember(blockMember)); } return(false); }
public bool BlockMember(string m_account) { var blockMember = MemberRepo.GetMemberByAcc(m_account); if (blockMember != null) { var result = MemberRepo.BlockMember(blockMember); return(result); } return(false); }