public ActionResult ScheduleConsult()
        {
            var model = new mail();

            return View(model);
        }
        public ViewResult SendEmail(mail _objModelMail)
        {
            //this will fire off an email to the library folder.
            //would really like to move this the repository but the lambdas and interface also exists with this bit of code. 10/12.

            using (var _libEntity = new LibEntities())
            {
                int? id = _objModelMail.QuestId;

                quest_tb qt = _libEntity.quest_tb.FirstOrDefault(x => x.q_id == id);

                MailMessage mail = new MailMessage();

                SmtpClient smtpServer = new SmtpClient("smtp.ncu.edu");

                mail.From = new MailAddress(qt.email_address, qt.u_last_name + ", " + qt.u_first_name);
                mail.To.Add("*****@*****.**");
                mail.Subject = "Feedback - Knowledge Base";
                mail.Body = "Feedback: " + _objModelMail.Comments + "\r QuestionID: " + id;

                smtpServer.Send(mail);

                return View(_objModelMail);
            }
        }