public async Task <ActionResult> KodDogrula(string saglayici, string returnUrl, bool hatirlaBeni) { if (!await OturumAcmaYoneticisi.HasBeenVerifiedAsync()) { return(View("Hata")); } return(View(new KoduDogrulaViewModel { Saglayici = saglayici, ReturnUrl = returnUrl, HatirlaBeni = hatirlaBeni })); }
public async Task <ActionResult> KodDogrula(string saglayici, string returnUrl, bool hatirlaBeni) { // Require that the user has already logged in via username/password or external login if (!await OturumAcmaYoneticisi.HasBeenVerifiedAsync()) { return(View("Hata")); } return(View(new KoduDogrulaViewModel { Saglayici = saglayici, ReturnUrl = returnUrl, HatirlaBeni = hatirlaBeni })); }