Exemple #1
0
        public void UpdateCheckpoint(CheckpointDTO dto)
        {
            try
            {
                //Requires.NotNull(t);
                //Requires.PropertyNotNegative(t, "CheckpointId");

                log.Debug(CheckpointDTO.FormatCheckpointDTO(dto));

                R_Checkpoint t = CheckpointDTO.ConvertDTOtoEntity(dto);

                // update
                Repository.UpdateCheckpoint(t);

                log.Debug("result: 'success'");
            }
            catch (System.Exception e)
            {
                // error
                log.Error(e.ToString());

                throw;
            }
        }