public ActionResult ResetPassword(ResetPasswordViewModel model)
        {
            UpdateCustomerRequest updRequest = new UpdateCustomerRequest();
            updRequest.CustomerID = model.CustomerID;
            updRequest.LoginPassword = model.Password;
            updRequest.Field3 = string.Empty;
            var response = Exigo.WebService().UpdateCustomer(updRequest);

            return new JsonNetResult(new
            {
                success = true
            });
        }
        public ActionResult ResetPassword(string passwordReset)
        {
            //Created Model
            var model = new ResetPasswordViewModel();

            //Find Customer By hash
            var query = Exigo.OData().Customers.Where(c => c.Field3 == passwordReset);

            if (query != null && query.Count() > 0)
            {
                var customer = query.FirstOrDefault();
                return View(new ResetPasswordViewModel() { CustomerID = customer.CustomerID, CustomerType = customer.CustomerTypeID });
            }
            else
            {
                return RedirectToAction("Login");
            }
        }