public bool Register(UserViewModel user)
        {
            try
            {
                IList <int> validateCreate = _registerRepository.ValidateCreateAcout(user.email);

                result = (validateCreate.Count == 0) ? true : false;

                if (result)
                {
                    _registerRepository.CreateAcout(user.nome, user.email, user.senha);

                    return(true);
                }

                return(false);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }