public static void SaveServiceItem(AspxCommonInfo aspxCommonObj, int categoryId, List <ServiceItemInfo> serviceInfo, SqlTransaction tran)
 {
     try
     {
         AspxServiceProvider.SaveServiceItem(aspxCommonObj, categoryId, serviceInfo, tran);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #2
0
        public void SaveServiceItem(AspxCommonInfo aspxCommonObj, int categoryId, List <ServiceItemInfo> serviceInfo)
        {
            SQLHandler     sqlH = new SQLHandler();
            SqlTransaction tran;

            tran = (SqlTransaction)sqlH.GetTransaction();
            try
            {
                AspxServiceProvider.SaveServiceItem(aspxCommonObj, categoryId, serviceInfo, tran);
                tran.Commit();
            }
            catch (Exception e)
            {
                tran.Rollback();
                throw e;
            }
        }