i have table like this
Id Employee_Id Sector_Id Date
1 xxx kkk 2015-12-15
1 sss ddd 2015-12-15
1 fff nnn 2015-12-15
i want to delete all records base on sector_Id and given date??
i have search google but there is no method to delete all record at once
i am using this code
var deleteRecord1 = _service.GetAllDutyPointStatus().Where(x => x.Date == dt && x.Sector_Id == sectorId).Count();
if (deleteRecord1 != null)
{ _service.DeleteDutyPointStatus(deleteRecord1); }
else { MsgLitteral.ShowNotificationInline("No Record Found!.", true); }
when cleint click on delete button all record base on date and sector,all record delete