Exemplo n.º 1
0
        public string EditMemberInformation(MemberInfo memberAfterEdit)
        {
            var originMember = _memberRepo.GetMemberByAcc(memberAfterEdit.m_account);

            if (originMember != null)
            {
                return(_memberRepo.EditMemberInformation(originMember, memberAfterEdit));
            }
            return("查無此會員");
        }
Exemplo n.º 2
0
        public string EditMemberInformation(UpdateMemberInfo memberAfterEdit)
        {
            var originMember = MemberRepo.GetMemberByAcc(memberAfterEdit.m_account);

            if (originMember != null)
            {
                var result = MemberRepo.EditMemberInformation(originMember, memberAfterEdit);
                return(result);
            }
            return("查無此會員");
        }