Exemple #1
0
        public static List <LogSistema> Lista(string local = "")
        {
            try
            {
                var dataInicio = DateTime.Now;
                var dataFim    = DateTime.Now;

                return(LogDAL.Lista(local, dataInicio, dataFim)
                       .Where(x => x.IP.Trim() != "::1")
                       .OrderByDescending(x => x.DataCadastro)
                       .ToList());
            }
            catch (Exception)
            {
                throw;
            }
        }