コード例 #1
0
        public ViewResult Edit(int id)
        {
            Production production    = _productionRepository.GetProduction(id);
            Production productionObj = new Production
            {
                ProductionId = production.ProductionId,
                ProdInvId    = production.ProdInvId,
                ProdQuantity = production.ProdQuantity,
                HDPE         = production.HDPE,
                LDPE         = production.LDPE,
                PP           = production.PP,
                T2OR         = production.T2OR,
                T2OB         = production.T2OB,
                T2OY         = production.T2OY,
                Thinner      = production.Thinner,
                Wastage      = production.Wastage,
                ProdHour     = production.ProdHour,
                Date         = production.Date
            };

            return(View(productionObj));
        }