public static void xoaDV(DICHVU nv)
        {
            DICHVU old = DataProvider.ISCreated.DB.DICHVUs.Where(x => x.DichVuID == nv.DichVuID).SingleOrDefault();

            old.TinhTrangTonTai = true;
            capNhatCSDL();
        }
        public static DICHVU themMoiDichVu(DICHVU nv)
        {
            nv.NgayTao = DateTime.Now;
            DICHVU res = new DICHVU();

            res = DataProvider.ISCreated.DB.DICHVUs.Add(nv);
            DataProvider.ISCreated.DB.SaveChanges();
            return(res);
        }
        public static void capNhatDVImport(DICHVU nv)
        {
            DICHVU old = DataProvider.ISCreated.DB.DICHVUs.Where(x => x.DichVuID == nv.DichVuID).SingleOrDefault();

            old.TinhTrangTonTai = nv.TinhTrangTonTai;
            old.TenDichVu       = nv.TenDichVu;
            old.GiaBan          = nv.GiaBan;
            old.GiaCungCap      = nv.GiaCungCap;
            old.LoaiDVID        = nv.LoaiDVID;
            old.DonVi           = nv.DonVi;
            old.HinhAnh         = nv.HinhAnh;
            old.NgayTao         = nv.NgayTao;
            capNhatCSDL();
        }