Example #1
0
        public bool InsertServices(Services _objServiceData)
        {
            try
            {
                da_Services _objServices = new da_Services();

                return(_objServices.InsertService(_objServiceData));
            }
            catch (Exception exp)
            {
                throw new Exception(exp.Message);
            }
        }
Example #2
0
        public List <Services> ReadServices()
        {
            try
            {
                da_Services _objServices = new da_Services();

                List <Services> _lstServices = new List <Services>();

                _lstServices = _objServices.ReadServices();

                return(_lstServices);
            }
            catch (Exception exp)
            {
                throw new Exception(exp.Message);
            }
        }