Posts by Thomas Jackson • 47 points
2 posts
-
2
votes3
answers106
viewsA: Filter per parameter or all
Would this be: var leadId = 0; if(parametro == 1) leadId = 1 else leadId = 2; var lead = (from l in this.DB.BGC_LEAD where l.ID_LEAD ==leadId).ToList();…
-
1
votes1
answer570
viewsQ: Format JSON wrong web api
I’m having trouble returning json to my mvc 5 api. In the Get method it returns a string in this format: public string Get() { return…