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

            InvertoryViewModel            = new InvertoryViewModel();
            InvertoryViewModel.RepairUnit = new RepairUnit()
            {
                EndUserMessage = requestResult.EndUserMessage,
                Status         = requestResult.Status
            };
            return(RedirectToAction("RepairUnitList"));
        }