Questions tagged as 'rotas'

2
answers

Null parameter in route

I'm trying to get into a controller , get a parameter and print it in the View by a ViewData or ViewBag . My Controller: public ActionResult Index(string information) { ViewData["Bag"] = information; return...
asked by 26.01.2016 / 16:22
1
answer

How to plot routes in a C # Windows Forms application from latitude and longitude

Hello, I would like to know how best to display a route from the latitude and longitude that are in the database in a C # Windows Forms application. I've already searched the web and I've found something similar to what I need, link But I still...
asked by 12.02.2015 / 12:16
1
answer

Route results in 404 Not Found

I was following the CodeIgniter startup tutorial when I came across a problem with routes. The route file has the following routes: $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; $route['news/create'] = 'news/create';...
asked by 23.07.2016 / 04:05
3
answers

Route for static pages in MVC

I have a question in the ASP.Net MVC application: Structure Views | +-- Home | | | +-- Index.cshtml | | | +-- Page.cshtml | +-- Users | | | +-- Details.cshtml...
asked by 22.02.2014 / 16:24
1
answer

Angular 5 route problems

I have my normal and simple route app.routing.ts import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { LoginComponent } from '../login/login.component'; import { HomeComponent } from '../ho...
asked by 14.01.2018 / 17:16
2
answers

Parameter passage laravel

How do I step 2 or more variables on the route? View <a href="{{route('transferir.edit', [$destino->servidor->idservidor, $destino->setor])}}" class="btn btn-default btn-xs" role="button"><span class="glyphicon glyphicon-r...
asked by 14.11.2017 / 16:48
1
answer

Help with ASP MVC routes (3 routes for the same action)

I have a controler: public class imoveisController : Controller { public ActionResult Index(int idEstado = 0, int idCidade = 0, int[] idRegiao = null) { string IdEstado; string IdCidade; int[] IdRegiao;...
asked by 14.12.2017 / 20:38
1
answer

Laravel: route with parameters

I have a school system with a call screen where it has a button that opens a modal with a form to choose the class and the date (% with%). This form will redirect to a screen with the list of students in the class chosen to launch the call on th...
asked by 21.08.2017 / 01:47
1
answer

Area Routes in ASP.NET MVC?

I'm working with areas but it is not working the route and I created 2 areas , inside one I created a folder called Cadastros and inside the other a folder called Tabelas . RegistrationsAreaRegistration.cs namesp...
asked by 30.07.2017 / 04:11
1
answer

Route configuration error on NodeJS with Express [duplicate]

I have a problem when starting NodeJS, similar to this post this link but did not have more feedback from those who asked and the solution presented in the answer did not help me either. The example is from a book, from Code House, and ar...
asked by 11.01.2016 / 20:52