Exemplo n.º 1
0
 public void PopulateDBConfig()
 {
     try
     {
         if (System.Web.HttpContext.Current.Application["CONFIG"] == null)
         {
             System.Web.HttpContext.Current.Application["CONFIG"] = _dataSvc.GetCommonConfigData();
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
     finally
     {
         _dataSvc.Dispose();
     }
 }
Exemplo n.º 2
0
 public void PopulateDBConfig()
 {
     try
     {
         if (_dicConfig == null)
         {
             _dicConfig = _dataSvc.GetCommonConfigData();
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
     finally
     {
         _dataSvc.Dispose();
     }
 }