public ActionResult AddUser(Customer model)
        {
            if (!ModelState.IsValid)
            {
                return(View("Register", model));
            }

            var response = APIHelper.AddNewCustomer(model);

            if (response != null && response.errorSummary == null)
            {
                var name = "Unknown";
                try
                {
                    name = $"{model.Profile.FirstName} {model.Profile.LastName}";
                    TempData["Message"] = name + " has been registered";
                    TempData["IsError"] = false;
                }
                catch
                {
                }
            }
            else
            {
                TempData["Message"] = response.errorSummary;
                TempData["IsError"] = true;
            }

            return(RedirectToAction("List"));
        }