I'm working through the process of upgrading an ASP..NET Core JS1 app to JS2. In my old project, I extensively use the RemoteSaveAdaptor and UrlAdaptor. I have bindings set up for the various separate CRUD operations such as
public virtual async Task<IActionResult> OnPostUpdateAsync([FromBody] CRUDModel<M> value)
public virtual async Task<IActionResult> OnPostInsertAsync([FromBody] CRUDModel<M> value)
etc. What are the recommended signatures for these handlers in JS2? Also, my DataSource binding
public async Task<IActionResult> OnPostDataSourceAsync([FromBody] DataManager dm)
uses the old DataOperations class to apply where, order, etc. to the resulting dataset. I can't find a similar class in EJ2. Is there a sample DataSource method that corresponds with the old sample that uses DataOperations?
Thanks in advance!
brian