public async Task <IActionResult> UpdateLoggedInUserProfileDetails([FromBody] UpdateUserAc updatedUserAc)
        {
            if (string.IsNullOrEmpty(updatedUserAc.Name))
            {
                return(Ok(new { Message = "Name can't be null or empty", HasError = true }));
            }
            else
            {
                ApplicationUser currentUser = await _userManager.FindByNameAsync(User.Identity.Name);

                await _userManagementRepository.UpdateLoggedInUserProfileDetails(updatedUserAc, currentUser);

                return(Ok(new { Message = "Profile has been updated successfully" }));
            }
        }