public async Task <object> Create([FromBody] ProfileViewModel profileModel)
        {
            var user = await _userManager.FindByIdAsync(profileModel.UserId);

            if (!string.IsNullOrEmpty(profileModel.Description))
            {
                user.Description = profileModel.Description;
            }
            if (!string.IsNullOrEmpty(profileModel.base64Picture))
            {
                user.Picture = profileModel.base64Picture;
            }

            var result = await _userManager.UpdateAsync(user);

            DateTimeOffset timestamp = DateTimeOffset.Now;

            if (profileModel.UserSelectedDepartmentsIds != null)
            {
                List <UserDepartment> userDepartments = _profileRepository.AddUserDepartments(profileModel.UserId, string.Join(",", profileModel.UserSelectedDepartmentsIds), timestamp);
            }
            //return RedirectToAction("Index");
            return(new SingleResponse <ApplicationUser>
            {
                Message = "Profile Updated",
                DidError = false,
                ErrorMessage = string.Empty,
                Token = string.Empty,
                Model = null
            });
        }