public Boolean GrabarDB(tb_ubicacion_Info info, ref string id, ref string msg) { try { tb_ubicacion_Data data = new tb_ubicacion_Data(); return(data.GrabarDB(info, ref id, ref msg)); } catch (Exception ex) { Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message); throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "GrabarDB", ex.Message), ex) { EntityType = typeof(tb_ubicacion_Bus) }; } }
public tb_ubicacion_Info Get_Info_Ubicacion(string idUbicacion) { try { tb_ubicacion_Data data = new tb_ubicacion_Data(); return(data.Get_Info_Ubicacion(idUbicacion)); } catch (Exception ex) { Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message); throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "ObtenerUnaUbicacion", ex.Message), ex) { EntityType = typeof(tb_ubicacion_Bus) }; } }
public List <tb_ubicacion_Info> Get_List_Pais() { try { List <tb_ubicacion_Info> lM = new List <tb_ubicacion_Info>(); tb_ubicacion_Data data = new tb_ubicacion_Data(); lM = data.Get_List_Pais(); return(lM); } catch (Exception ex) { Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message); throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "Cargar_Pais", ex.Message), ex) { EntityType = typeof(tb_ubicacion_Bus) }; } }