Ejemplo n.º 1
0
        public void UpdateHealthEveryRegisterInfo(HealthEveryUpdateViewModel healthEveryUpdateViewModel)
        {
            var updateInfo = _IMapper.Map <HealthEveryUpdateViewModel, Health_Info>(healthEveryUpdateViewModel);

            healthRepository.Update(updateInfo);
            healthRepository.SaveChanges();
        }