Interview Question

Access List value from ViewData in MVC

Let’s create a mvc application and name it mvcDemo. Let’s create a model and name it StudentModel. public class StudentModel { public int StudentId { get; set; } public string Name { get; set; } public bool IsRequired { get;… Continue Reading →

Can we make action methods as protected in mvc

In this article we learn is that possible to make method as protected or not.

Can we make controller as protected

In this article we learn that is it possible to make controller as protected. No, we cannot make a controller as protected. Let’s try to make controller as protected. When we make controller as private,protected,protected internal. It is giving an… Continue Reading →