public async Task <IActionResult> Authenticate(AuthenticationRequest authenticationRequest)
 {
     if (ModelState.IsValid)
     {
         var result = _accountService.AccountAuthenticate(authenticationRequest);
         ConfigService.SetAuthentication(result.Data);
         if (result.Data.IsVerified)
         {
             ConfigService.SetAuthentication(result.Data);
             return(RedirectToAction("Dashboardd", "Dashboard"));
         }
         else
         {
             TempData["ErrorMessage"] = "UserName either Password is Incorrect";
             return(View(authenticationRequest));
         }
     }
     TempData["SuccessMessage"] = "Successfully Loged In";
     return(View(authenticationRequest));
 }