public int RecordDelete(PropJobType objProperty) { DllJobType objDal = new DllJobType(); try { return(objDal.DeleteJobType(objProperty)); } catch (Exception info) { throw info; } finally { objDal = null; } }
public int DeleteJobType(PropJobType objJobType) { SqlCommand cmd = new SqlCommand("proc_JobType", objCon.Con); return(cmd.ExecuteNonQuery()); }