/// <summary> /// Obtiene el reporte Logins Log /// </summary> /// <returns> List of RptGifts </returns> /// <history> /// [edgrodriguez] 27/Abr/2016 Created /// </history> public static async Task <List <RptLoginLog> > GetRptLoginsLog(DateTime dtmStart, DateTime dtmEnd, string location = "ALL", string pcname = "ALL", string personnel = "ALL") { List <RptLoginLog> result = new List <RptLoginLog>(); await Task.Run(() => { using (var dbContext = new IMEntities(ConnectionHelper.ConnectionString())) { result = dbContext.USP_IM_RptLoginLog(dtmStart, dtmEnd, location, pcname, personnel).ToList(); } }); return(result); }