feat(HomeController): UserCulture zu EnvelopeSigned hinzugefügt
This commit is contained in:
parent
977486bb7d
commit
c4114a3800
@ -257,6 +257,7 @@ namespace EnvelopeGenerator.Web.Controllers
|
|||||||
return Redirect($"/EnvelopeKey/{envelopeReceiverId}/Locked");
|
return Redirect($"/EnvelopeKey/{envelopeReceiverId}/Locked");
|
||||||
|
|
||||||
await HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
|
await HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
|
||||||
|
ViewData["UserCulture"] = _cultures[UserLanguage];
|
||||||
ViewData["EnvelopeKey"] = envelopeReceiverId;
|
ViewData["EnvelopeKey"] = envelopeReceiverId;
|
||||||
return View();
|
return View();
|
||||||
},
|
},
|
||||||
@ -284,7 +285,7 @@ namespace EnvelopeGenerator.Web.Controllers
|
|||||||
await HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
|
await HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme);
|
||||||
return await _envRcvService.ReadByEnvelopeReceiverIdAsync(envelopeReceiverId).ThenAsync(
|
return await _envRcvService.ReadByEnvelopeReceiverIdAsync(envelopeReceiverId).ThenAsync(
|
||||||
SuccessAsync: async (er) =>
|
SuccessAsync: async (er) =>
|
||||||
{
|
{ViewData["UserCulture"] = _cultures[UserLanguage];
|
||||||
ViewData["UserCulture"] = _cultures[UserLanguage];
|
ViewData["UserCulture"] = _cultures[UserLanguage];
|
||||||
return await _historyService.IsRejected(envelopeId: er.EnvelopeId)
|
return await _historyService.IsRejected(envelopeId: er.EnvelopeId)
|
||||||
? View(er)
|
? View(er)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user