I tell you a bit about my problem.
By my boss's requirements I had to make an application using the first database technique and then use scaffolding (which I do not like). I was used to doing linq queries and calling them in my controller, now I want to modify a view where it brings me a list with all the records of a table, but I want to discriminate some, in which file or class I can modify it?.
Reviewing the code, it is not clear to me if my driver brings the query or the information from the database. if so, how can I add a filter as well as a where
?
Here my controller that I am using:
public ActionResult Index()
{
var usuarios = db.Usuarios.Include(u => u.UsuariosRol);
return View(usuarios.ToList());
}