public string AutomaticEmail()
        {
            CentrisPropertyApiManager cpApiM = new CentrisPropertyApiManager();
            int nbOfEmailSent = cpApiM.AutomaticEmail();

            if (nbOfEmailSent > 0)
            {
                return($"{nbOfEmailSent} propertys were sent at {ConfigurationManager.AppSettings.Get("email")}");
            }
            else
            {
                return("No new property were posted");
            }
        }
        public List <Property> GetListing()
        {
            CentrisPropertyApiManager cpApiM = new CentrisPropertyApiManager();

            return(cpApiM.GetPropertyBaseOnJson());
        }