public void Post(DoCheckPoint request)
 {
     try{
         logger.Debug("API Request received for checkpointing");
         new CheckpointLogic().DoCheckPoint(request.checkpoint);
     } catch (Exception e) {
         throw e;
     }
 }
Exemple #2
0
 public void Post(DoCheckPoint request)
 {
     try {
         if (request.checkPointObject == null)
         {
             logger.Warn("DAFUQ");
         }
         logger.Debug("Request received for checkpointing for time : " + request.checkPointObject.lastcheckpoint);
         new CheckpointLogic().DoCheckPointAllUsers(request.checkPointObject);
     } catch (Exception e) {
         logger.Debug(e);
         throw e;
     }
 }