//
        public ActionResult Reason(int?id)
        {
            MessageObj message = new MessageObj();

            if (id.HasValue)
            {
                message.StockItemId = (int)id;
            }
            return(View(message));
        }
 public ActionResult Reason(MessageObj message)
 {
     return(RedirectToAction("Delete", new { id = message.StockItemId }));
 }