Exemplo n.º 1
0
        public int RecordDelete(PropJobType objProperty)
        {
            DllJobType objDal = new DllJobType();

            try
            {
                return(objDal.DeleteJobType(objProperty));
            }
            catch (Exception info)
            {
                throw info;
            }
            finally
            {
                objDal = null;
            }
        }
Exemplo n.º 2
0
        public int DeleteJobType(PropJobType objJobType)
        {
            SqlCommand cmd = new SqlCommand("proc_JobType", objCon.Con);

            return(cmd.ExecuteNonQuery());
        }