Update _Layout for different type of users
问题 I'm using the MVC template on Asp.net MVC 4, and I have a UserProfile (t class with the UserType (this field receive only 2 values, "Ouvinte" and "Musico") field, that works like roles in application, right? My idea is, make a verification on _Layout.cshtml to know what is the UserType that are logged on application and modify the navbar on top. THIS IS MY NAVBAR ON _Layout <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type=