public IActionResult Get(Guid id)
        {
            var detail = repository.FindById(id);

            if (detail == null)
            {
                return(NotFound());
            }

            return(Ok(mapper.Map <NcMonitor, MonitorDetailDTO>(detail)));
        }
 public NcMonitor FindMonitor(Guid id)
 {
     return(monitorRepository.FindById(id));
 }