Posts by Vinicius Grund • 111 points
5 posts
-
2
votes3
answers720
viewsA: Dropdownlistfor how to use?
@uitan, this Exception is masking the real problem that should only be validation of your form. You must load the Viewbags from the post action as you did in the Get action. your post should look…
-
1
votes1
answer256
viewsA: Convert LINQ to Dapper query
Consider respecting the circle of the fields in the split according to the joins in the query. Note that the last 3 joins of your query (in order) are: Expiration, States, Branches. Therefore your…
-
0
votes1
answer40
viewsA: Files . js are not loaded after Actionlink loads Partialview
It should not load even as your page has already been rendered. Consider loading these js in _Layout or try append js through a jQuery function. See this link: Add CSS and JS in AJAX-Loaded…
-
2
votes1
answer148
viewsA: Fluent API Zero-to-one Relationship 0-1 - Bringing Results From Another Relationship
Customer has a Cielotoken or Cielotoken has a Customer? According to what you informed me, I would do the entity clean (no data Annotations) and solve everything in the Fluent API. The code would…
-
3
votes3
answers720
viewsA: Dropdownlistfor how to use?
Code taking into account that the Positionid should be a combo: Na Action Get: Obs: You must pass the Viewbag.Position public ActionResult Create() { ViewBag.Position = new…