public async Task <IActionResult> AddPhone(PhoneDTO phone) { if (ModelState.IsValid) { var result = await _userServices.AddPhone(phone); return(Ok(result)); } return(BadRequest("Invalid details")); }