Пример #1
0
        public async Task <StatusCodeResult> UpdatePersonalDetail(PersonalDetailViewModel viewModel)
        {
            await _profileAppService.UpdatePersonalDetail(new PersonalDetailDto
            {
                FirstName   = viewModel.FirstName,
                LastName    = viewModel.LastName,
                PhoneNumber = viewModel.PhoneNumber,
                Email       = viewModel.Email
            });

            return(StatusCode(200));
        }