public HttpResponseMessage UpdatePersonalDetails(PersonalDetailsUpdateRequest model)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
            }

            string userId = _userService.GetCurrentUserId();

            _userService.UpdatePersonalDetails(model, userId);

            SuccessResponse response = new SuccessResponse();

            return Request.CreateResponse(HttpStatusCode.OK, response);
        }
        public void UpdatePersonalDetails(PersonalDetailsUpdateRequest model, string userId)
        {
            DataProvider.ExecuteNonQuery(GetConnection, "dbo.Users_UpdatePersonalDetails"
               , inputParamMapper: delegate (SqlParameterCollection paramCollection)
               {
                   paramCollection.AddWithValue("@Age", model.Age);
                   paramCollection.AddWithValue("@FinancialConcern", model.FinancialConcern);
                   paramCollection.AddWithValue("@Gender", model.Gender);
                   paramCollection.AddWithValue("@MaritalStatus", model.MaritalStatus);
                   paramCollection.AddWithValue("@HasKids", model.HasKids);
                   paramCollection.AddWithValue("@CollegeStudent", model.CollegeStudent);
                   paramCollection.AddWithValue("@LevelOfCollege", model.LevelOfCollege);
                   paramCollection.AddWithValue("@Zip", model.Zip);
                   paramCollection.AddWithValue("@UserId", userId);

               }

               , returnParameters: delegate (SqlParameterCollection param)
               {

               }
               );
        }