public static void RechazaAjuste(int ajusteId, bool rechazado) { try { dsAjusteTableAdapters.QueriesTableAdapter qTa = new dsAjusteTableAdapters.QueriesTableAdapter(); qTa.SetAjusteRechazado(rechazado, ajusteId); } catch (Exception ex) { LoggerFacade.Log(ex); } }
public static Boolean AjusteRechazado(int ajusteId) { try { dsAjusteTableAdapters.QueriesTableAdapter qTa = new dsAjusteTableAdapters.QueriesTableAdapter(); return Convert.ToBoolean(qTa.getAjusteRechazado(ajusteId)); } catch (Exception ex) { LoggerFacade.Log(ex); return false; } }