public async Task <IActionResult> GetAll() { var userDetails = await _userDetailService.GetAllAsync(); return(Ok(userDetails)); }