Esempio n. 1
0
 public ActionResult ProductInput(ProductInputAction CommandAction)
 {
     this.ViewBag.Result = new List <dynamic>();
     if (CommandAction.ProductId != null)
     {
         this.ViewBag.Result   = CommandAction.Execute();
         this.ViewBag.EditFlag = "M";
     }
     return(View());
 }
Esempio n. 2
0
 public ActionResult ProductInput(ProductInputAction CommandAction)
 {
     this.ViewBag.Result = new List <Product>();
     if (CommandAction.ProductId != null)
     {
         this.ViewBag.Result   = CommandAction.Execute();
         this.ViewBag.EditFlag = "M";
     }
     using (var cmd = new ProductGroupSearchRepository())
     {
         this.ViewBag.Product = cmd.Execute();
     }
     return(View());
 }