Beispiel #1
0
        public void Remove(TreatmentReport item)
        {
            var entity = new TreatmentReportEntity();

            treatmentReportMapper.MapToEntity(item, entity);
            treatmentReportRepository.Delete(entity);
        }
Beispiel #2
0
        public void Update(TreatmentReport item)
        {
            var treatmentReportEntity = new TreatmentReportEntity();

            treatmentReportMapper.MapToEntity(item, treatmentReportEntity);
            treatmentReportRepository.Update(treatmentReportEntity);
        }
Beispiel #3
0
        public void Add(TreatmentReport item)
        {
            var entity = new TreatmentReportEntity();

            treatmentReportMapper.MapToEntity(item, entity);
            treatmentReportRepository.Create(entity);
        }