Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
        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;
            }
        }