public ActionResult DeleteConfirmed(long id)
        {
            InventoryLocationsPost inventorylocations = _inventorylocationsService.GetPost(id);

            inventorylocations.UserName = User.Identity.Name;
            _inventorylocationsService.Delete(inventorylocations);
            return(RedirectToAction("Index"));
        }