public ActionResult Login(ProfileModel model, string actionRequest)
        {
            if (model.UserID != null && model.UserID.Length > 0 && model.Password != null && model.Password.Length > 0)
            {
                model = new KIPPDemoDAO().LoginValidation(model.UserID, model.Password);

                if (model == null)
                {
                     ModelState.AddModelError(string.Empty, "UserId or Password is invalid,please retry.");
                }
                else
                {
                  return  RedirectToAction("Dashboard", "Dashboard");
                }
            }
            return View(model);
        }
 public ActionResult Teacher()
 {
     List<TeacherModel> Teachers = new KIPPDemoDAO().GetTeachers();
     return View(Teachers);
 }