コード例 #1
0
 /// <summary>
 /// Obtiene los tipos de cambio dada una fecha
 /// </summary>
 /// <param name="_date"></param>
 /// <history>
 /// [vipacheco] 13/Abril/2016 Created
 /// </history>
 public static List <ExchangeRateShort> GetExchangeRatesByDate(DateTime?_date, string currency = "")
 {
     using (var dbContext = new IMEntities(ConnectionHelper.ConnectionString()))
     {
         return(dbContext.USP_OR_GetExchangeRatesByDate(_date, currency).ToList());
     }
 }