Example #1
0
        public DefectReadDto GetDefectById(int id)
        {
            var defectModel = _repository.GetDefectById(id);
            var defect      = _mapper.Map <DefectReadDto>(defectModel);

            return(defect);
        }