Posts by William Gontijo • 1 point
2 posts
-
0
votes2
answers23
viewsA: how to validate date field for if nothing is passed see the current date
You want to do this check only on the API right? There is no magic, you will need to create a method or just a conditional to check for you. if (date == null) date = Datetime.Now; Or you could…
-
0
votes1
answer48
viewsQ: Save JS Data to DB
I need to save a value of a JS Variable in the database, but I have no idea how to do it. I have a page that captures the user’s location , this location comes as a javascript object, and I have no…