Ejemplo n.º 1
0
        public ActionResult <List <LogsResponseDTO> > Get(int env)
        {
            IList <LogsResponseDTO> Alllogs = logs.getLogsByEnvironment(env);

            if (Alllogs.Count() > 0)
            {
                return(Ok(Alllogs));
            }
            else
            {
                return(NoContent());
            }
        }