public Boolean GrabarDB(fa_VendedorxSucursal_Info info, ref string msg) { try { fa_VendedorxSucursal_Data data = new fa_VendedorxSucursal_Data(); return(data.GrabarDB(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("", "GrabarDB", ex.Message), ex) { EntityType = typeof(fa_VendedorxSucursal_Bus) }; } }
public Boolean GrabarDB(List <fa_VendedorxSucursal_Info> lm, ref string msg) { try { fa_VendedorxSucursal_Data data = new fa_VendedorxSucursal_Data(); foreach (var item in lm) { data.GrabarDB(item, ref msg); } return(true); } 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("", "Grabar_Lista", ex.Message), ex) { EntityType = typeof(fa_VendedorxSucursal_Bus) }; } }