Exemplo n.º 1
0
        /// <summary>
        /// To EDIT Pap status
        /// </summary>
        /// <param name="objPstatus"></param>
        /// <returns></returns>
        public string EDITPstatus(PstatusBO objPstatus)
        {
            PstatusDAL PstatusDAlobj = new PstatusDAL(); //Data pass -to Database Layer

            try
            {
                return(PstatusDAlobj.EDITPstatus(objPstatus));
            }
            catch
            {
                throw;
            }
            finally
            {
                PstatusDAlobj = null;
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// To Get Pap status By Id
        /// </summary>
        /// <param name="PAPDESIGNATIONID"></param>
        /// <returns></returns>
        public PstatusBO GetPstatusById(int PAPDESIGNATIONID)
        {
            PstatusDAL PstatusDAlobj = new PstatusDAL();

            return(PstatusDAlobj.GetPstatusById(PAPDESIGNATIONID));
        }
Exemplo n.º 3
0
        /// <summary>
        /// To Get All Pap's status
        /// </summary>
        /// <param name="PapStatus"></param>
        /// <returns></returns>
        public object GetAllPstatus(string PapStatus)
        {
            PstatusDAL PstatusDALObj = new PstatusDAL();

            return(PstatusDALObj.GetAllPstatus(PapStatus));
        }
Exemplo n.º 4
0
        /// <summary>
        /// To Delete PAP Status
        /// </summary>
        /// <param name="PAPDESIGNATIONID"></param>
        /// <returns></returns>
        public string DeletePstatus(int PAPDESIGNATIONID)
        {
            PstatusDAL PstatusDALObj = new PstatusDAL();

            return(PstatusDALObj.DeletePstatus(PAPDESIGNATIONID));
        }
Exemplo n.º 5
0
        //Search the data from the Database Mst_PAPDESIGNATION
        /// <summary>
        /// To Get Pap's status
        /// </summary>
        /// <returns></returns>
        public object GetPstatus()
        {
            PstatusDAL PstatusDALObj = new PstatusDAL();

            return(PstatusDALObj.GetPstatus());
        }