public JsonResult Insert_BODetail(List <BookOrdVehDetailVM> objects)
        {
            bool   result = false;
            int    count  = 0;
            string msg    = "Failed to save record..";


            //foreach (var item in objects)
            //{
            //    if (count >= 1 || item.BrandCode != null)
            //    {
            result = BookingOrderMethods.Insert_BODetail(objects, Session["DealerCode"].ToString());
            //    }
            //    count++;
            //}

            if (result)
            {
                msg = "Successfully Added";
            }

            return(Json(new { Success = result, Message = msg }, JsonRequestBehavior.AllowGet));
        }