public async Task <bool> AddAccount(AccountDTO model)
        {
            var userModel = _accountConverter.ToBusinessEntity(model);
            var result    = await UserProvider.RegisterUser(userModel);

            return(result.Succeeded);
        }
        /// <summary>
        /// Register new user
        /// </summary>
        /// <param name="model"></param>
        /// <returns>OperationResultDTO</returns>
        public OperationResultDTO AddAccount(AccountDTO model)
        {
            Logger.log.Debug("at WCFService.UserService.AddAccount");
            var userModel = _accountConverter.ToBusinessEntity(model);
            var identity  = UserProvider.RegisterUser(userModel);
            var result    = new OperationResultDTO()
            {
                Result = identity.Result,
                Info   = identity.Info
            };

            return(result);
        }