Exemplo n.º 1
0
        public ActionResult AddRepairUnit(RepairUnit repairUnit)
        {
            var requestResult = inventoryLogic.AddRepairUnit(repairUnit);

            InvertoryViewModel            = new InvertoryViewModel();
            InvertoryViewModel.RepairUnit = new RepairUnit()
            {
                EndUserMessage = requestResult.EndUserMessage,
                Status         = requestResult.Status
            };
            return(View(InvertoryViewModel));
        }