// GET: BulkBuys
        public ActionResult Index()
        {
            BulkBuySearchViewModel vModel = new BulkBuySearchViewModel();

            vModel.BulkBuy  = new BulkBuyModel();
            vModel.AllBulks = new List <BulkBuyModel>();
            return(View(vModel));
            // return View(db.Buyers.ToList());
        }
        public ActionResult Search(BulkBuySearchViewModel objModel)
        {
            BulkBuySearchViewModel vModel = new BulkBuySearchViewModel();

            vModel.BulkBuy  = new BulkBuyModel();
            vModel.AllBulks = new List <BulkBuyModel>();
            List <BulkBuyModel> objRes = _IBulkProduct.AllBulk(objModel.BulkBuy);

            vModel.AllBulks.AddRange(objRes);
            return(PartialView("~/Views/BulkBuys/_bulkBuySearch.cshtml", vModel));
        }