public bool Delete(int id) { bool status = false; StaffRepository repo = new StaffRepository(); status = repo.Delete(id); return(status); }
//DELETE api/staff/id public void DeletePerson(int id) { db.Delete(id); }
public bool Delete(Staff staff) { return(staffRepository.Delete(staff)); }