Ejemplo n.º 1
0
        public ActionResult DeleteConfirmed(long id)
        {
            InventoryUnitsPost inventoryunits = _inventoryunitsService.GetPost(id);

            inventoryunits.UserName = User.Identity.Name;
            _inventoryunitsService.Delete(inventoryunits);
            return(RedirectToAction("Index"));
        }