/**/ public ActionResult Access() { AccessVM model = new AccessVM(); return(View(model)); } [HttpPost] public ActionResult Access(AccessVM model) { model.response = CustomersManager.NewActivateMember(SitesManager.GetSite(13), CustomersManager.GetCustomer(2239433), "OPEN"); //////responseFromServer; /////SHA1 sha1 = SHA1Managed.Create(); ////ASCIIEncoding encoding = new ASCIIEncoding(); ////byte[] stream = null; ////StringBuilder sb = new StringBuilder(); ////stream = sha1.ComputeHash(encoding.GetBytes("WEj5g-101036-2239433")); ////for (int i = 0; i < stream.Length; i++) //// sb.AppendFormat("{0:x2}", stream[i]); ////string cvt = sb.ToString(); ////System.Diagnostics.Process.Start("https://foodvalueshop.enjoymydeals.com/home?CVT=" + cvt); return(View(model)); } /**/ public string CancelDebtorsCustomers() { //ViewBag.CustomersCount = CustomersManager.GetDebtorsCount().ToString(); //ViewBag.SitesName = SitesManager.GetSites().GroupBy(x => x.Name).Select(x => x.Key); //return DateTime.Now.ToLongDateString(); return(CustomersManager.CancelDebtorsCustomers().ToString()); }