really new to MVC and not sure how i would get my variable 'UsersFullName' from the code behind class file to the view. With aspx and aspx.cs i would have done this:
index.aspx.cs:
using System.DirectoryServices.AccountManagement;
namespace TeamRequestForm.Controllers
{
    public class AddTeamController : Controller
    {
        // GET: AddTeam
        public ActionResult Index()
        {
            return View();
        }
        private string usersFullName = UserPrincipal.Current.DisplayName;
        public string UsersFullName { get { return usersFullName; } }
    }
}
index.aspx:
<input type="text" value="<%=UsersFullName%>" name="changeOriginator" id="changeOriginator">
How can I do the same in a view? Many thanks in advance.
 
     
     
     
     
     
    