Example #1
0
        /// <summary author="Ramesh Adhikari" created="2019/01/30">
        /// </summary>
        public Member RetrieveMember(int id)
        {
            Member member = null;

            try
            {
                member = _memberAccessor.SelectMember(id);
                if (member == null)
                {
                    throw new NullReferenceException("Member not found");
                }
            }
            catch (Exception ex)
            {
                ExceptionLogManager.getInstance().LogException(ex);
                throw ex;
            }
            return(member);
        }