public Boolean GrabarDB(List <in_Producto_Composicion_Info> ListInfo, decimal IdProductoPadre, ref string mensaje) { try { in_Producto_Composicion_Data data = new in_Producto_Composicion_Data(); return(data.GrabarDB(ListInfo, IdProductoPadre, ref mensaje)); } 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(in_Producto_Composicion_Bus) }; } }
public Boolean eliminarRegistro_x_producto(int idEmpresa, decimal IdProductoPadre, ref string mensaje) { try { in_Producto_Composicion_Data data = new in_Producto_Composicion_Data(); return(data.eliminarRegistro_x_producto(idEmpresa, IdProductoPadre, ref mensaje)); } 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("", "eliminarRegistro_x_producto", ex.Message), ex) { EntityType = typeof(in_Producto_Composicion_Bus) }; } }
public List <in_Producto_Composicion_Info> ObtenerListProductoComposicion(int IdEmpresa, decimal IdProductoPadre) { try { in_Producto_Composicion_Data data = new in_Producto_Composicion_Data(); return(data.Get_List_Producto_Composicion(IdEmpresa, IdProductoPadre)); } 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("", "ObtenerListProductoComposicion", ex.Message), ex) { EntityType = typeof(in_Producto_Composicion_Bus) }; } }