Beispiel #1
0
 /// <summary>
 /// Devuelve el log de un Gift
 /// </summary>
 /// <param name="idGift"></param>
 /// <returns></returns>
 /// <history>
 /// [emoguel] created 05/07/2016
 /// </history>
 public static async Task <List <GiftLogData> > GetGiftsLog(string idGift)
 {
     return(await Task.Run(() =>
     {
         using (var dbContext = new IMEntities(ConnectionHelper.ConnectionString()))
         {
             return dbContext.USP_OR_GetGiftLog(idGift).ToList();
         }
     }));
 }