Posts by Willian Kirsch • 1 point
2 posts
-
0
votes4
answers2214
viewsA: Bring a Max(Date) with LINQ
There is no built-in method to do this. You can use the logic to sort and get the first item from the list. You can write a generic method to get the Min orMax for any type, passing by parameter the…
-
-1
votes2
answers90
viewsA: Validation required with if Viewmodel
Your model view is inheriting from IValidatableObject? Try it like this: public class Empresa : IValidatableObject
asp.net-mvcanswered Willian Kirsch 1