Base solution for your next web application
Open Closed

pass an array from js page to AppService #3222


User avatar
0
avanekar02 created

Hello

Can i pass an array from index,js page to AppService page

public async Task<Int32> CreateBasketHdrPAsync(CreateBasketHdrInput input)

regards Anwar


1 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi,

    You can pass parameter that can be any type that you want. There are example codes in aspnet zero project.

    Check edition creation pages. For example if you look following js code, features passed as list: ~\MyCompanyName.AbpZeroTemplate.Web.Mvc\wwwroot\view-resources\Areas\AppAreaName\Views\Editions_CreateOrEditModal.js