jQuery to pass data in Ajax call to MVC action method

I have two lists (list-left and list-right) prepared and populate. Then I have this JS code to move elements from one list to another. And it works fine. But honestly I don’t know how to pass the result back to codebehind when user clicks the submit button on the form? This is my cshtml code: And my controller: The [HttpPost] Edit action requires RoleModification object with two arrays of strings (changes on the lists -> it is now based on previous solution without jquery). It would be also suitable to have only one list-right passed. Answer and your controller muset