Relative Content

Tag Archive for c#asp.net-mvcmodel-view-controller

have a problem with my CRUD process, how can i solve it?

i was doing an MVC project, about budget, using user, transactions, account, account type, operation type and category, those are my tables in sql, the problem is that i was doing the CRUD on the transaction controller, i was doing the create.cshtml to see if a new transaction is created, but have an error on the creation,i left two images []

What is the Index method inside of a controller?

I’m following this tutorial on how to develop unit tests using xUnit for .Net application. On this video he is developing tests on a controller and there is a method called Index inside this controller, and the way he speaks of this method makes it look like it is a common practice to have one method with that name in a controller.