public IEnumerable <TreatmentMachineViewModel> GetAll() { return(_treatmentMachineRepository.GetAll().ProjectTo <TreatmentMachineViewModel>(_mapper.ConfigurationProvider)); }