public void save(TestimonialDto testimonial_dto) { try { _transactionManager.beginTransaction(); Testimonial testimonial = new Testimonial(); _testimonialMaker.copy(ref testimonial, testimonial_dto); _testimonialRepo.insert(testimonial); _transactionManager.commitTransaction(); } catch (Exception) { _transactionManager.rollbackTransaction(); throw; } }