Questions tagged as 'controller'

1
answer

How to capture an Object in the route (Route) of the PUT in a controller?

is that I have a PUT and I want to capture the value of the field that I am going to update, but in the database in SQL_Variant , so to do it I have to send an object when sending it to the database , this is my PUT [HttpPut("{empid}/{co...
asked by 24.10.2018 / 18:52
1
answer

Add action to the controller and invoke with link_to in the view: - ERROR Completed 400 Bad Request

In the classic application blog article ... I want to add an action in the article driver adjust by calling it post , basically I update the text column of the article method by adding just one asterist (*) each time it...
asked by 30.06.2017 / 19:43
1
answer

Add more fields in a select with pluck laravel

Hi, I want to show more data in a select with the pluck method, does anyone know how to do it? It turns out that I have a Course table, which has a name and type as attributes. I want to give a course to a student, but with the pluck that I h...
asked by 11.04.2017 / 22:09
2
answers

Relations in laravel

Good, I have a view where I receive a "subject id", "student id" and I want to show the qualifications that ESE student has in ESA ASIGNATURA. I have the following function public function verCalificacion($id, $idasi) { $alumno = Alumn...
asked by 11.03.2017 / 05:21
1
answer

Click on a Chart Control in ASP: NET

I have defined a Chart that is called chart11 and I give it data in the following way using the load of the control protected void Chart11_Load(object sender, EventArgs e) { List<byte[]> Datos11 = new List<byt...
asked by 19.10.2016 / 17:29
2
answers

How can I execute controllers within a function in angularjs?

any possibility of executing controllers in or a function? example: $scope.send = function(){ controller1 controller2 }; My ideas is to incorporate a 'ng-click="send";' Even button on which to execute the task, greetings.     
asked by 23.09.2016 / 17:37
1
answer

Fill a DropDownList depending on a conditional query in asp.net mvc 5 entity framework

Hi, I have to fill out a dropdownlist with the information that this query gives me. Select Unit from Unit Measures where Status = 'Active' This query should bring me the units that have the active state but I do not know how to implement...
asked by 27.12.2018 / 19:35
0
answers

Update Some fields from controller and others from form - Driver laravel

As I say in the title, I need to update some fields from the form and others in the controller automatically I know this form $ejemplo = Usershow::find($id)->update(['campo1' => $variable1]); But I would like to know if there is anoth...
asked by 24.11.2018 / 17:24
0
answers

I have not finished using the HelpScout WebHook

I am trying to integrate a HelpScout WebHook, having already applied the same API in a PrestaShop module that I am creating. The issue is that I ask the HelpScout technical service and they can not help me, they tell me to look at the guides the...
asked by 05.11.2018 / 07:43
0
answers

Why do not all the variables pass through the GET method in C #?

I have the following driver to receive parameters by get I send my url as link public ActionResult UsarCode(string rmail, string rcompany, string raddress, string rpais, string rtel, string rhash, string ridpalpay, string rpriority, strin...
asked by 14.08.2018 / 18:12