public ActionResult Edit(CompanyCar_Object obj)
        {
            var b = new CompanyCar_BCL().UPDATE(obj);

            if (b)
            {
                return(RedirectToAction("Index", "CompanyCar"));
            }
            else
            {
                ModelState.AddModelError("", "Edit that bai");
            }
            return(View());
        }
        public ActionResult Create(CompanyCar_Object obj)
        {
            obj.Status    = false;
            obj.IsDeleted = false;
            var b = new CompanyCar_BCL().INSERT(obj);

            if (b)
            {
                return(RedirectToAction("Index", "CompanyCar"));
            }
            else
            {
                ModelState.AddModelError("", "them moi that bai");
            }
            return(View());
        }
        // GET: Admin/CompanyCar/Edit/5
        public ActionResult Edit(Guid id)
        {
            var obj = new CompanyCar_BCL().GetByID(id);

            return(View(obj));
        }
        // GET: Admin/CompanyCar
        public ActionResult Index()
        {
            var data = new CompanyCar_BCL().GetAll();

            return(View(data));
        }
        public ActionResult MenuSidebar()
        {
            var lstCom = new CompanyCar_BCL().GetAll();

            return(PartialView(lstCom));
        }
        public ActionResult PatrialCompanyCar()
        {
            var listCompanyCar = new CompanyCar_BCL().GetAll();

            return(PartialView(listCompanyCar));
        }