Posts by Maicon Heck • 111 points
2 posts
-
1
votes1
answer1077
viewsA: Calling functions from a controller in the _Layout.cshtml view of ASP.NET MVC5
To render an action result from a view (in your case _Layout), use the Action helper. You don’t need Viewbag or any other data transport. Directly return the view html: @Html.Action("Teste",…
-
0
votes1
answer121
viewsA: Slow return subscribe - Angular4
Because when you put if out of the subscribe function, it was executed before the return of your Password. And therefore, the property credentials of your sponse era Undefined: ERROR Typeerror:…