public ActionResult Delete(string id) { var Stock = _posrepo.DeleteStock(id); return(new JsonResult(Stock)); }