public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager )
 {
     sendMail = new SendMail();
     UserManager = userManager;
     SignInManager = signInManager;
     usService = new UserService();
 }
 private ActionResult RedirectToLogin(string UserId)
 {
     DriverService dservice = new DriverService();
     UserService us = new UserService();
     string UserType= us.GetUserType(UserId);
     if (UserType == "Driver")
     {
         return RedirectToAction("Index", "Driver", new { area = "En" });
     }
     else if (UserType == "Passenger")
     {
         return RedirectToAction("Index", "Passenger", new { area = "En" });
     }
     return RedirectToAction("Index", "Home");
 }
 public AccountController()
 {
     usService = new UserService();
     sendMail = new SendMail();
 }