Esempio n. 1
0
        public virtual ActionResult CustomerReturnRequests()
        {
            if (!_workContext.CurrentCustomer.IsRegistered())
            {
                return(new HttpUnauthorizedResult());
            }

            var model = _returnRequestModelFactory.PrepareCustomerReturnRequestsModel();

            return(View(model));
        }
Esempio n. 2
0
        public virtual IActionResult CustomerReturnRequests()
        {
            if (!_workContext.CurrentCustomer.IsRegistered())
            {
                return(Challenge());
            }

            var model = _returnRequestModelFactory.PrepareCustomerReturnRequestsModel();

            return(View(model));
        }