public ActionResult Deliver(SellPostedModel smodel, int BookId) { int x = bookRepo.Delivered(smodel, BookId); if (x == 1) { return(View("Index")); } else { return(Content("Problem Occured")); } }