public UnitOfWork(HeThongQuanLyVPGTContext context)
 {
     DanhSachBienBan           = new BienBanRepository(context);
     DanhSachNguoiDieuKhien    = new NguoiDieuKhienRepository(context);
     DanhSachPhuongTien        = new PhuongTienRepository(context);
     DanhSachCanBo             = new CanBoRepository(context);
     DanhSachBangLai           = new BangLaiRepository(context);
     DanhSachCapBac            = new CapBacRepository(context);
     DanhSachChucVu            = new ChucVuRepository(context);
     DanhSachChuyenDe          = new ChuyenDeRepository(context);
     DanhSachDieuLuat          = new DieuLuatRepository(context);
     DanhSachDoi               = new DoiRepository(context);
     DanhSachQuyen             = new QuyenRepository(context);
     DanhSachTaiKhoan          = new TaiKhoanRepository(context);
     DanhSachTuyenDuong        = new TuyenDuongRepository(context);
     DanhSachKhuVuc            = new KhuVucRepository(context);
     DanhSachTheLoaiPhuongTien = new TheLoaiPhuongTienRepository(context);
     _context = context;
 }
 public static void Initialize(HeThongQuanLyVPGTContext context)
 {
     context.Database.EnsureCreated();
 }