public JsonResult End(EndTabletisingViewModel model)
        {
            var item  = Mapper.Map <EndTabletisingItem>(model);
            var isEnd = _tabletisingStartStopDomain.End(item);

            return(Json(new { Success = isEnd, Message = isEnd ? TabletisingResources.MSG28 : "" },
                        JsonRequestBehavior.AllowGet));
        }
        public ActionResult End(string cmdNo, string lotNo, string productCode, string productName, int packageValue,
                                double fraction, double packUnit, string preProductLotNo)
        {
            var model = new EndTabletisingViewModel()
            {
                LotNo       = lotNo,
                ProductCode = productCode,
                ProductName = productName,
                CommandNo   = cmdNo,
                //Package = packageValue,
                //Fraction = fraction,
                PackingUnit     = packUnit,
                PreProductLotNo = preProductLotNo
            };

            return(PartialView("_PartialEndTabletising", model));
        }