Posts by Raniere Silva • 9 points
3 posts
-
0
votes1
answer76
viewsA: Function that returns other functions
If you want to return the list of the contents of the three method returns, you can do the following: [HttpPost] public ActionResult GetMessageClass(int resourceId, string deviceName) { var list =…
-
-2
votes1
answer421
viewsA: Send an SMS to one of the contacts
This will depend on the provider used for SMS. I suggest you use one of the following services: Twilio, Infobip, MARKTEL, Zenvia and Locasms. These services are paid for and have a very simple API…
-
1
votes3
answers860
viewsA: Is it possible to call the same method in all Controller Asp.. net mvc without having to repeat the code?
Basically, to get what you need, there are 3 possibilities (2 of which have already been explained very well above): using a Filter, so you get this functionality globally; using inheritance, so you…