public void ChargeDetailsDelete(int chargeId) { try { DALComponent dalComponent = new DALComponent(); dalComponent.SetParameters("@chargeId", SqlDbType.Int, 4, chargeId); dalComponent.SqlCommandText = "[ChargeDetailsDelete]"; int x = dalComponent.DeleteRecord(); } catch (Exception) { throw; } }
public void CategoryGroupDelete(int catid) { try { DALComponent dalComponent = new DALComponent(); dalComponent.SetParameters("@categoryGroupId", SqlDbType.Int, 4, catid); dalComponent.SqlCommandText = "CategoryGroupDelete"; int x = dalComponent.DeleteRecord(); } catch (Exception) { throw; } }
public void AdPostDeleteById(int adpostId) { try { dalComponent = new DALComponent(); dalComponent.SetParameters("@adpostId", SqlDbType.Int, 4, adpostId); dalComponent.SqlCommandText = "AdPostDeleteById"; int x = dalComponent.DeleteRecord(); } catch (Exception) { throw; } }