//this method will delete member from a team public void DeleteMember(int id) { _teamRepo.DeleteMember(id); }