/// <summary>
        ///     Unlocks the account for the specified email.
        /// </summary>
        /// <param name="email">The email.</param>
        /// <returns>The response from the identity service.</returns>
        public IdentityServiceResponse UnLock(string email)
        {
            var identityServiecResponse = new IdentityServiceResponse();
            var response = MakeRequestAsync(HttpMethod.Post, "api/membership/UnLock/" + email).Result;

            if (response.IsSuccessStatusCode)
            {
                identityServiecResponse.Sucess = true;
            }
            else
            {
                identityServiecResponse.ErrorMessage = response.Content.ReadAsStringAsync().Result;
            }
            return(identityServiecResponse);
        }
        /// <summary>
        ///     Changes the password.
        /// </summary>
        /// <param name="email">The email.</param>
        /// <param name="oldPassword">The old password.</param>
        /// <param name="newPassword">The new password.</param>
        /// <returns>The response from the identity service.</returns>
        public IdentityServiceResponse ChangePassword(string email, string oldPassword, string newPassword)
        {
            var identityServiecResponse = new IdentityServiceResponse();
            var response = MakeRequestAsync(HttpMethod.Post, "api/membership/ChangePassword/" + email, new { oldPassword, newPassword }).Result;

            if (response.IsSuccessStatusCode)
            {
                identityServiecResponse.Sucess = true;
            }
            else
            {
                identityServiecResponse.ErrorMessage = response.Content.ReadAsStringAsync().Result;
            }
            return(identityServiecResponse);
        }