public IActionResult Import(Guid token)
 {
     try
     {
         LogLogic ll   = new LogLogic(null);
         User     user = sessionLogic.GetUserFromToken(token);
         Log      log  = new Log {
             Username = user.Username,
             Date     = DateTime.Now,
             Accion   = "Import"
         };
         ll.AddRegister(log);
         return(Ok());
     }
     catch (DataBaseLogicException) { return(BadRequest("Error en la conexión con la base de datos")); }
     catch (InvalidOperationLogicException) { return(BadRequest("Error en el sistema")); }
 }