internal void validateAuth(out string status, out string code, CoHome coHome)
 {
     code   = string.Empty;
     status = string.Empty;
     try
     {
         DaAnimusRest da = new DaAnimusRest();
         da.validateAuth(out status, out code, coHome);
     }
     catch (Exception ex)
     {
         coHome.id = 0;
     }
 }
        internal bool recoverPassword(string mailPassword, out string status, out string code)
        {
            status = string.Empty;
            code   = string.Empty;

            try
            {
                DaAnimusRest da = new DaAnimusRest();
                return(da.recoverPassword(mailPassword, out status, out code));
            }
            catch (Exception ex)
            {
                return(false);
            }
        }
        internal string renewToken(string tooken, out string status, out string code)
        {
            status = string.Empty;
            code   = string.Empty;

            try
            {
                DaAnimusRest da = new DaAnimusRest();
                return(da.renewToken(tooken, out status, out code));
            }
            catch (Exception ex)
            {
                return("");
            }
        }
 public CoHome registerHome(out string status, out string code, CoHome coHome)
 {
     code   = string.Empty;
     status = string.Empty;
     try
     {
         DaAnimusRest da = new DaAnimusRest();
         return(da.registerHome(out status, out code, coHome));
     }
     catch (Exception ex)
     {
         coHome.id = 0;
         return(coHome);
     }
 }
        public Boolean validateMail(String mail, out string status, out string code)
        {
            bool resp = true;

            status = string.Empty;
            code   = string.Empty;
            try
            {
                DaAnimusRest da = new DaAnimusRest();
                resp = da.validateMail(mail, out status, out code);
            }
            catch (Exception ex)
            {
                resp = false;
            }
            return(resp);
        }