Exemple #1
0
        public virtual ActionResult AcceptCartonInUcc(UccViewModel uvm)
        {
            //TC22 : Scan nothing or empty enter on UCC page.
            if (string.IsNullOrEmpty(uvm.ScannedUccId))
            {
                return(View(Views.Ucc, uvm));
            }

            return(RedirectToAction(Actions.AcceptUccInCarton()
                                    .AddRouteValue(ReflectionHelpers.NameFor((CartonViewModel m) => m.ScannedCartonId), uvm.ScannedUccId)));
        }