calling one method from another in python code example

Example 1: how to put value of one variable into another in bash

#Do not add a space between variable and '='.
arg2=$arg1  	#correct assignment
arg2 = $arg1 	#incorrect assignment

Example 2: To call any action method from the view on button click in mvc

BY LOVE
Here, Action name=Edit, ControllerName=Home.
@using (Html.BeginForm("Edit", "Home", new { Id = emp.Id }, FormMethod.Get))
                            {
                                
                            }
@using (Html.BeginForm("Delete", "Home", new { Id = emp.Id }, FormMethod.Post))
                            {
                                
                            }

Tags:

Misc Example