public DaiLysController( IDaiLyRepository dailyRepository, IMapper mapper, IOptions <AppSettings> appSettings) { _dailyRepository = dailyRepository; _mapper = mapper; _appSettings = appSettings.Value; }
// GET: /Admin/ProductType/ public CardOptionController(IDaiLyRepository _daiLyRepository) { this.daiLyRepository = _daiLyRepository; }
// GET: /Admin/ProductType/ public GameDaiLyController(IDaiLyRepository _dailyRepository) { this.dailyRepository = _dailyRepository; }
public DaiLyService(IDaiLyRepository daiLyRepository, IUnitOfWork unitOfWork) { this.daiLyRepository = daiLyRepository; this.unitOfWork = unitOfWork; }