I have a view that contains a list of employees, the end user selects employees and removes employees on more than one.
Each line of the list contains a flag. The end user selects a few flags and clicks the delete button. Selected entries must be deleted.
The MVC controller takes care of the deletion part. Signature of the delete method:
DeleteEmployes(List<int> empIds).
How can i achieve this?
My base model:
var emp = Backbone.Model.extend({
defaults:{
Id:null,
fname:null,
lname:nulll.
}
});
source
share