public ProductController(IMapper mapper, ILinhKienRepository linhKienRepository, ILoaiLinhKienRepository llkRepository, INhaCungCapRepository nccRepository, IWebHostEnvironment webHostEnvironment) { _mapper = mapper; _linhKienRepository = linhKienRepository; _llkRepository = llkRepository; _nccRepository = nccRepository; _webHostEnvironment = webHostEnvironment; }
public HomeController(ILogger <HomeController> logger, ILinhKienRepository linhkienRepo, IHoaDonRepository hoadonRepository, IGioHangRepository giohangRepo, ILoaiLinhKienRepository loailinhkienRepo, IMapper mapper, UserManager <ApplicationUser> userManager ) { _logger = logger; _linhkienRepo = linhkienRepo; _hoadonRepository = hoadonRepository; _userManager = userManager; _giohangRepo = giohangRepo; _loailinhkienRepo = loailinhkienRepo; this.mapper = mapper; }
public CategoryController(ILoaiLinhKienRepository loaiLinhKienrRepo, IMapper mapper) { _loaiLinhKienRepo = loaiLinhKienrRepo; _mapper = mapper; }