Beispiel #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());
 }
 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());
 }