public ActionResult StockUpdate(int?id)
        {
            if (id == null)
            {
                return(View("Error", errorNotifyObj));
            }
            Stock stock = sm.Find(x => x.Id == id);

            if (stock == null)
            {
                return(View("Error", errorNotifyObj));
            }

            return(View(stock));
        }