public void OnGet(int?id) { Ruta = rutarepo.FindAll().Where(x => x.PutniNalog.IDPutniNalog == id).ToList(); pnID = (int)id; }