public void DeleteById(StateInfo pStateInfo) { StateInfo stateInfo = new StateInfo(pStateInfo.StateId); stateInfo.Delete(); }