private bool MachineExists(Guid id)
 {
     return(_machineService.Any(e => e.Id == id));
 }