示例#1
0
        protected virtual IUser FindMentorBy(int credentialId)
        {
            var mentorDAO = new MentorDAO();

            return(mentorDAO.FindOneRecordByCredentialId(credentialId));
        }
        public IActionResult ShowMentorProfile()
        {
            int mentorID = _mentorDAO.FindOneRecordByCredentialId(_credentialID).Id;

            return(View(GetMentorDetails(mentorID)));
        }