private async Task <IActionResult> DealerForgetPassword(ForgotPasswordViewModel model, CancellationToken ct) { ApplicationUser user = null; user = await UserApplication.GetDealerbyEmail(model.Email, ct); if (user == null) { return(BadRequest("No user exist with this email")); } else { await UserApplication.DealerSendForgetPasswordEmail(user, base.UseDefaultLanguage); return(Ok()); } }