We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1963c5c commit 22e5e1dCopy full SHA for 22e5e1d
ApiIntegrationMvc/Areas/Home/Views/Home/Index.cshtml
@@ -1,3 +1,17 @@
1
@{
2
ViewData["Title"] = "Home Page";
3
}
4
+@{
5
+ var msg = TempData["Toast"] as string;
6
+}
7
+
8
+@if (!string.IsNullOrEmpty(msg))
9
+{
10
+ <script>
11
+ document.addEventListener("DOMContentLoaded", () => {
12
+ toastr.options.closeButton = true;
13
+ toastr.options.progressBar = true;
14
+ toastr.success('@msg', 'Success');
15
+ });
16
+ </script>
17
0 commit comments