public void SetOrUpdateStar(List <Dynamic> objDynamic, int?id, int level) { var objFieldsDynamics = new FieldsDinamicsDAL(); try { try { objFieldsDynamics.SetOrUpdateStarProfile(objDynamic, id, level, CommonENT.MYCTSDBPROFILES_CONNECTION); } catch (Exception ex) { new EventsManager.EventsManager(ex, EventsManager.EventsManager.OrigenError.BaseDeDatos); objFieldsDynamics.SetOrUpdateStarProfile(objDynamic, id, level, CommonENT.MYCTSDBPROFILESBACKUP_CONNECTION); } } catch (Exception e) { e.ToString(); } }
public List <Dynamic> GetStar1Details(String pcc, string level1) { var listFieldsDynamics = new List <Dynamic>(); var objFieldsDynamics = new FieldsDinamicsDAL(); try { try { listFieldsDynamics = objFieldsDynamics.GetStar1Profile(pcc, level1, CommonENT.MYCTSDBPROFILES_CONNECTION); } catch (Exception ex) { //new EventsManager.EventsManager(ex, EventsManager.EventsManager.OrigenError.BaseDeDatos); listFieldsDynamics = objFieldsDynamics.GetStar1Profile(pcc, level1, CommonENT.MYCTSDBPROFILESBACKUP_CONNECTION); } } catch { } return(listFieldsDynamics); }