protected HDSuaXe CreateNewHDSuaXe()
        {
            HDSuaXe entity = new HDSuaXe();


            entity.MaSoHoaDon      = "Test Test Tes";
            entity.KhachHang       = "Test Test Test Te";
            entity.DiaChi          = "Test Test ";
            entity.DienThoai       = "Test Test ";
            entity.SoKm            = 23;
            entity.NgaySua         = DateTime.Now;
            entity.LoaiHinhSuaChua = "Test Test ";
            entity.TinhTrangHuHong = "Test Test ";
            entity.TimPanSuaChua   = "Test Test ";
            entity.TienPhuTung     = 10;
            entity.TienCong        = 58;
            entity.ThanhTien       = 87;
            entity.NhanVienPhucVu  = "Test Test ";
            entity.GhiChu          = "Test Test ";

            IXeDaSuaManager xeDaSuaManager = managerFactory.GetXeDaSuaManager();

            entity.XeDaSuaMember = xeDaSuaManager.GetAll(1)[0];

            return(entity);
        }
Пример #2
0
 public XeDaSuaTests()
 {
     manager = managerFactory.GetXeDaSuaManager();
 }