Esempio n. 1
0
        /// <summary>
        /// To Edit in Database
        /// </summary>
        /// <param name="HealthCenterBOobj"></param>
        /// <returns></returns>
        public string Edit(HealthCenterBO HealthCenterBOobj)
        {
            HealthCenterDAL HealthCenterDALobj = new HealthCenterDAL();//Data pass -to Database Layer

            try
            {
                return(HealthCenterDALobj.Edit(HealthCenterBOobj));
            }
            catch
            {
                throw;
            }
            finally
            {
                HealthCenterDALobj = null;
            }
        }
Esempio n. 2
0
        /// <summary>
        /// To Delete Health Center
        /// </summary>
        /// <param name="HEALTHCENTERID"></param>
        /// <returns></returns>
        public string DeleteHealthCenter(int HEALTHCENTERID)
        {
            HealthCenterDAL HealthCenterDALobj = new HealthCenterDAL();

            return(HealthCenterDALobj.DeleteHealthCenter(HEALTHCENTERID));
        }
Esempio n. 3
0
        /// <summary>
        /// To Get Health Center By Id
        /// </summary>
        /// <param name="HEALTHCENTERID"></param>
        /// <returns></returns>
        public HealthCenterBO GetHealthCenterById(int HEALTHCENTERID)
        {
            HealthCenterDAL HealthCenterDALobj = new HealthCenterDAL();

            return(HealthCenterDALobj.GetHealthCenterById(HEALTHCENTERID));
        }
Esempio n. 4
0
        /// <summary>
        /// To Get Health Center
        /// </summary>
        /// <returns></returns>
        public HealthCenterList GetHealthCenter()
        {
            HealthCenterDAL HealthCenterDALobj = new HealthCenterDAL();

            return(HealthCenterDALobj.GetHealthCenter());
        }
Esempio n. 5
0
        /// <summary>
        /// To Obsolete Health Center
        /// </summary>
        /// <param name="HEALTHCENTERID"></param>
        /// <param name="IsDeleted"></param>
        /// <returns></returns>
        public string ObsoleteHealthCenter(int HEALTHCENTERID, string IsDeleted)
        {
            HealthCenterDAL HealthCenterDALobj = new HealthCenterDAL();

            return(HealthCenterDALobj.ObsoleteHealthCenter(HEALTHCENTERID, IsDeleted));
        }