0
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

Tanmay
  • 590
  • 8
  • 20

0 Answers0