Open endriyas opened 6 years ago
i have model called taskToStaff contains ID, taskID, StaffID
I need to delete documents from taskToStaff model where tskID is equal to the ID that i given.
curruntlly i test this but does not work.
this.TaskToStaffsDataSource = Restangular.service("taskToStaffs"); this.TaskToStaffsDataSource.one(taskID).removeAll().then(() =>{});
i have model called taskToStaff contains ID, taskID, StaffID
I need to delete documents from taskToStaff model where tskID is equal to the ID that i given.
curruntlly i test this but does not work.
this.TaskToStaffsDataSource = Restangular.service("taskToStaffs"); this.TaskToStaffsDataSource.one(taskID).removeAll().then(() =>{});