var roles = ViewData["Roles"] as List<ABC.XYZ.Customs.CustomRole>;
This code snippet is in razor and I am trying to debug that why roles is coming null how to do that. I am very new to MVC
var roles = ViewData["Roles"] as List<ABC.XYZ.Customs.CustomRole>;
This code snippet is in razor and I am trying to debug that why roles is coming null how to do that. I am very new to MVC