All Questions
Tagged with controller asp.net-mvc
4 questions
1
vote
1
answer
104
views
Decoupling of validation and data access in ASP.NET
I've been asigned to a project no dev has touched in a long time. It's an ASP.NET MVC 4 application.
It appeared to be well coded, but had no testing and the database migration folder is not present.
...
10
votes
1
answer
219
views
ASP controller for tracking equipment
This was originally posted here. I'm hoping Code Review will be a little more helpful in giving me a concrete direction.
I've been working on a project based off of this tutorial.
Unfortunately, ...
2
votes
1
answer
141
views
Controller to update a catalogue through an uploaded Excel file
The goal of following MVC controller code is to achieve following workflow:
User exports catalog (either with items of type Spread or of type Consumables) to Excel;
User makes changes in exported ...
2
votes
0
answers
147
views
Business logic in controller
Led by the recently read premise "Lean controllers and fat models" I've come to the conclusion that my controller might be too fat at the moment.
Basically, what I'm trying to achieve is simple Edit ...