Example #1
0
 public SanPhamService(ISanPhamRepository sanPhamRepository, IDonHangRepository donHangRepository, IChiTietDonHangRepository chiTietDonHangRepository, IMapper mapper)
 {
     _donHangRepository        = donHangRepository;
     _sanPhamRepository        = sanPhamRepository;
     _chiTietDonHangRepository = chiTietDonHangRepository;
     _mapper = mapper;
 }
 public ChiTietDonHangService(IChiTietDonHangRepository chiTietDonHangRepository, IMapper mapper)
 {
     _chiTietDonHangRepository = chiTietDonHangRepository;
     _mapper = mapper;
 }