Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [HttpPost]
- public JsonResult AfficherDetailsFacture(AfficheDetails afficheDetailsFacture)
- {
- // do some stuff
- }
- [Serializable]
- public class AfficheDetails
- {
- public List<long> firstList{ get; set; }
- public List<long> secondList{ get; set; }
- public string numFacture{ get; set; }
- }
- var AfficheDetails = {
- firstList: [31025,6954],
- secondList: [31542,31211,23214,23211],
- numFacture: "Facture 001"
- };
- $.ajax({
- type: "POST",
- async: false,
- url: urls.urlAfficherDetailsFacture,
- contentType: 'application/json',
- data: JSON.stringify(AfficheDetails),
- success: function (oResultat) {
- //
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement