Example #1
0
 public bool?EsOfertaValida(int oferID, int perID)
 {
     try
     {
         using (db.DBConnectorSwitch obj = new db.DBConnectorSwitch(Constants.DBConnectionType.BEMPLEO))
         {
             ListDictionary itemListDictionary = new ListDictionary();
             itemListDictionary.Add("OfeId", oferID);
             itemListDictionary.Add("PerId", perID);
             return(obj.GetSingleQuery(Properties.Queries.Default.ValidarOfertaPorUsuario, itemListDictionary) as bool?);
         }
     }
     catch (Exception ex)
     {
         Logger.ExLogger(ex);
     }
     return(null);
 }