public PhieuNhapKhoBusiness() { dbContext = new SMSEntities(); _phieuNhapKhoRepo = new PhieuNhapKhoRepository(dbContext); _nhanVienRepo = new NhanVienRepository(dbContext); _nhaCungCapRepo = new NhaCungCapRepository(dbContext); _chiTietPhieuNhapKhoRepo = new ChiTietPhieuNhapKhoRepository(dbContext); _hangHoaRepo = new HangHoaRepository(dbContext); _hangHoaBus = new HangHoaBusiness(); _nhanVienBus = new NhanVienBusiness(); }
public ServiceAccessor(AnhSanPhamRepository anhSanPhamRepository, BannerKhuyenMaiRepository bannerKhuyenMaiRepository, BinhLuanRepository binhLuanRepository, ChiTietDonHangRepository chiTietDonHangRepository, CountryRepository countryRepository, DistrictRepository districtRepository, DonHangRepository donHangRepository, LoaiSpRepository loaiSpRepository, NhaCungCapRepository nhaCungCapRepository, NhaSanXuatRepository nhaSanXuatRepository, ParameterRepository parameterRepository, ProvinceRepository provinceRepository, Core.Repository.SanPhamRepository sanPhamRepository, ThongSoKiThuatRepository thongSoKiThuatRepository, ThongSoRepository thongSoRepository, TraLoiRepository traLoiRepository, TrangThaiDonHangRepository trangThaiDonHangRepository, TrangThaiSanPhamRepository trangThaiSanPhamRepository, VoucherRepository voucherRepository, VoucherTypeRepository voucherTypeRepository, WardRepository wardRepository) { this.anhSanPhamRepository = anhSanPhamRepository; this.bannerKhuyenMaiRepository = bannerKhuyenMaiRepository; this.binhLuanRepository = binhLuanRepository; this.chiTietDonHangRepository = chiTietDonHangRepository; this.countryRepository = countryRepository; this.districtRepository = districtRepository; this.donHangRepository = donHangRepository; this.loaiSpRepository = loaiSpRepository; this.nhaCungCapRepository = nhaCungCapRepository; this.nhaSanXuatRepository = nhaSanXuatRepository; this.parameterRepository = parameterRepository; this.provinceRepository = provinceRepository; this.sanPhamRepository = sanPhamRepository; this.thongSoKiThuatRepository = thongSoKiThuatRepository; this.thongSoRepository = thongSoRepository; this.traLoiRepository = traLoiRepository; this.trangThaiDonHangRepository = trangThaiDonHangRepository; this.trangThaiSanPhamRepository = trangThaiSanPhamRepository; this.voucherRepository = voucherRepository; this.voucherTypeRepository = voucherTypeRepository; this.wardRepository = wardRepository; }
public NhaCungCapBusiness() { _dbContext = new SMSEntities(); _nhaCungCapRepo = new NhaCungCapRepository(_dbContext); }
public DataAccess(AnhSanPhamRepository anhSanPhamRepository, BannerKhuyenMaiRepository bannerKhuyenMaiRepository, BinhLuanRepository binhLuanRepository, ChiTietDonHangRepository chiTietDonHangRepository, CountryRepository countryRepository, DistrictRepository districtRepository, DonHangRepository donHangRepository, LoaiSpRepository loaiSpRepository, NhaCungCapRepository nhaCungCapRepository, NhaSanXuatRepository nhaSanXuatRepository, ParameterRepository parameterRepository, ProvinceRepository provinceRepository, Core.Repository.SanPhamRepository sanPhamRepository, ThongSoKiThuatRepository thongSoKiThuatRepository, ThongSoRepository thongSoRepository, TraLoiRepository traLoiRepository, TrangThaiDonHangRepository trangThaiDonHangRepository, TrangThaiSanPhamRepository trangThaiSanPhamRepository, VoucherRepository voucherRepository, VoucherTypeRepository voucherTypeRepository, WardRepository wardRepository) : base(anhSanPhamRepository, bannerKhuyenMaiRepository, binhLuanRepository, chiTietDonHangRepository, countryRepository, districtRepository, donHangRepository, loaiSpRepository, nhaCungCapRepository, nhaSanXuatRepository, parameterRepository, provinceRepository, sanPhamRepository, thongSoKiThuatRepository, thongSoRepository, traLoiRepository, trangThaiDonHangRepository, trangThaiSanPhamRepository, voucherRepository, voucherTypeRepository, wardRepository) { }