Пример #1
0
        public async Task <IActionResult> EditProfileAsync([FromBody] EditProfileRequestModel model)
        {
            var user = await _profileService.EditProfileAsync(model.Id, model.Email, model.FirstName, model.LastName,
                                                              model.Age);

            return(JsonResult(user));
        }