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