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