Questions tagged as 'controller'

1
answer

Show result of 2 stored procedures in a view

Hello everyone I am new in the development world with asp.net, I want to show the result of 2 procedures in one view. public List<prodUnidad> Detalle_Producto(string codigo) { List<prodUnidad> detalleProducto = new List...
asked by 17.09.2018 / 03:17
1
answer

Route [calculator] not defined. Laravel 5.6

Good morning! I am developing a small application that contains a sales margin calculator. This calculator I have it at the first sight, and calls a form that sends to the controller of the home in laravel. For some reason, mark that I do not...
asked by 27.08.2018 / 09:43
1
answer

Table relationships of the EF error model

Good morning, I'm new to ASP.NET MVC and I'm trying to make a simple application where I only have two tables, the first table is the author and the second is the table books. When I give you an author, it saves it in the database, but when I wa...
asked by 01.08.2018 / 01:48
1
answer

How do I load a driver before loading a js file?

I'm doing a small guided tutorial for a web page, I'm using a library called introjs , which helps a lot for that task. But I have a small problem, the web page is created with MVC Razor, and the menu part is dynamic, and it is loaded from t...
asked by 17.07.2018 / 00:45
1
answer

Count the number of records in my BD ManyToMany

I do not know how to explain to me so that they understand me, I even think that I asked the question badly, let's see, I need to know how (I better put examples), I have a reservation table, and a food table, their relationship is much To much,...
asked by 05.06.2018 / 21:05
0
answers

ModelState is Invalid AJAX - ASP .NET

I'm doing a project in which at the end of an activity you get a PopUp that when you click on it, it is sent via ajax - api to the database: Activity Model: namespace PSCORE.DataBase.Models { public class Activitat { [Key]...
asked by 23.05.2018 / 15:37
0
answers

Show errors in Login view in Codeigniter

I am new and I do not have much idea of the use of Codeigniter . The case Do you know if there is any way to return a comment (error) to a view, from the controller, once having made a query of a model ?. That is: I fill in a login form and...
asked by 22.05.2018 / 23:49
1
answer

mvc Details receives a null value

Use VS 2015. I have a list of clients. When I choose one, when I get to Details I notice that the user_name field arrives null. private salon_de_belleza_bd2Entities db = new salon_de_belleza_bd2Entities(); public ActionResult Index()...
asked by 17.04.2018 / 18:43
0
answers

asp.net-mvc persist state views to return to previous states

I write the post because I have been thinking about how to solve a problem that I have to solve and I do not know how to approach it ... (I feel the brick, it's very conceptual all ...). The fact is that I'm with an application that has 5 mai...
asked by 13.04.2018 / 09:39
0
answers

Using the resource controller

I'm trying to populate a dynamic table using Vue, but by calling the resource manager, it returns the json and removes my view, where the table is, I've reviewed and tried several ways to call the controller on the route, but nothing. Here the c...
asked by 25.04.2018 / 23:23