public ActionResult <List <LogsResponseDTO> > Get() { IList <LogsResponseDTO> Alllogs = logs.AllLogs(); if (Alllogs.Count() > 0) { return(Ok(Alllogs)); } else { return(NoContent()); } }