I have done some reading and I can't figure out how I change the view, by using the controller to handle the changing of the view. I have 2 buttons that currently use onclick to change the view but I want it done via the controller.
This is my view:
@{
ViewData["Title"] = "RoleCreator";
}
<div class="ui-layout-center">
<h1>Example Header</h1>
<p>Example Text </p>
<input type="button" value="Create Role" onclick="location.href = 'RoleManager/RoleCreator'"/>
<input type="button" value="Edit Role" onclick="location.href='RoleManager/RoleEditor'"/>
</div>