Esempio n. 1
0
        public ActionResult Seller(string code)
        {
            bool Status = false;
            bool updateSeller = _sellerRepository.ActivateSeller(code);
            if (updateSeller)
            {
                Status = true;
            }
            else
            {
                ViewBag.Message = "Invalid Request";
                return View("Activated");
            }
            ViewBag.Status = Status;
            return View("Activated");

        }