Ejemplo n.º 1
0
        // GET api/values
        public IEnumerable <string> Get()
        {
            var crmTextApiAdapter = new CrmTextApiAdapter();
            var customer          = new Customer()
            {
                Method      = "optincustomer",
                FirstName   = "Mina",
                LastName    = "Test",
                PhoneNumber = "9736415077"
            };

            crmTextApiAdapter.OptInCustomer(customer);

            return(new string[] { "value1", "value2" });
        }
Ejemplo n.º 2
0
 public void Setup()
 {
     _crmTextApiAdapter = new CrmTextApiAdapter();
 }