public Boolean ExisteRubro(int idempresa, decimal idempleado, string IdRubro, int IdNomina_Tipo, int IdNomina_TipoLiqui, string idCentroCosto) { try { ro_empleado_x_ro_rubro_Data data = new ro_empleado_x_ro_rubro_Data(); return(data.ExisteRubro(idempresa, idempleado, IdRubro, IdNomina_Tipo, IdNomina_TipoLiqui, idCentroCosto)); } 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("", "ExisteRubro", ex.Message), ex) { EntityType = typeof(ro_empleado_x_ro_rubro_Bus) }; } }