ajax data post from pop up form not hitting the controller method ASP.NET MVC

I have a pop form AddorEdit.cshtml, which is called from index.cshtml page. The form is opening but unable to post data to controller method. index page // index.cshtml // <a class=”btn btn-success” style=”margin-bottom:10px;” onclick=”PopupForm(‘@Url.Action(“AddorEdit”, “Vehicles”)’)”><i class=”fa fa-plus”></i> Add New</a> <table id=”tbl_vehicle” class=”table table-striped table-bordered” style=”width:100%;” > //table block <script> function SubmitForm(form) { $.ajax({ type: “POST”,…

Details

map over multiple arrays and only return specific ones

Question, i currently have a axios get request that fetches data from a nasa api and returns it into a list of arrays. getDataHandler= () => { axios.get(‘https://api.nasa.gov/neo/rest/v1/neo/browse?api_key=DEMO_KEY’,) .then((response) => { const restructuredData = response.data.near_earth_objects.map( ({ name, estimated_diameter, close_approach_data }) => { const close_approaches = close_approach_data && close_approach_data.length ? close_approach_data.map(({ orbiting_body }) => orbiting_body) :…

Details