Ejemplo n.º 1
0
 public Boolean EliminarDB(in_ProductoTipo_Info info, ref string msg)
 {
     try
     {
         in_ProductoTipo_Data data = new in_ProductoTipo_Data();
         return(data.EliminarDB(info, 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("", "EliminarDB", ex.Message), ex)
               {
                   EntityType = typeof(in_ProductoTipo_Bus)
               };
     }
 }
Ejemplo n.º 2
0
 public int getId(int idempresa)
 {
     try
     {
         in_ProductoTipo_Data data = new in_ProductoTipo_Data();
         return(data.GetId(idempresa));
     }
     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("", "getId", ex.Message), ex)
               {
                   EntityType = typeof(in_ProductoTipo_Bus)
               };
     }
 }