public KeController(ITuService tuService, IKeService keService, IFunctionLichSuHoatDongService functionLichSuHoatDongService, IHopService hopService) { _tuService = tuService; _keService = keService; _hopService = hopService; _functionLichSuHoatDongService = functionLichSuHoatDongService; }
public HopController(IKeService keService, IHopService hopService, IPhongBanService phongBanService, IFunctionLichSuHoatDongService functionLichSuHoatDongService, IHoSoService hoSoService) { _keService = keService; _hopService = hopService; _phongBanService = phongBanService; _hoSoService = hoSoService; _functionLichSuHoatDongService = functionLichSuHoatDongService; }
public LHSAndPBController(ILoaiHoSoService loaiHoSoService, IPhongBanService phongBanService, IFunctionLichSuHoatDongService functionLichSuHoatDongService, IHoSoService hoSoService, IHopService hopService) { _loaiHoSoService = loaiHoSoService; _phongBanService = phongBanService; _hopService = hopService; _hoSoService = hoSoService; _functionLichSuHoatDongService = functionLichSuHoatDongService; }
public IngredientService(IHopService hopService, IFermentableService fermentableService, IOtherService otherService, IYeastService yeastService, IIngredientElasticsearch ingredientElasticsearch) { _hopService = hopService; _fermentableService = fermentableService; _otherService = otherService; _yeastService = yeastService; _ingredientElasticsearch = ingredientElasticsearch; }
public HoSoController(IHoSoService hoSoService, ILoaiHoSoService loaiHoSoService, ITaiLieuVanBanService taiLieuVanBanService, IPhongBanService phongBanService, IHopService hopService, IFunctionLichSuHoatDongService functionLichSuHoatDongService) { _hoSoService = hoSoService; _loaiHoSoService = loaiHoSoService; _phongBanService = phongBanService; _hopService = hopService; _taiLieuVanBanService = taiLieuVanBanService; _functionLichSuHoatDongService = functionLichSuHoatDongService; }
public HomeController(ITuService tuService, IKeService keService, IHopService hopService, IHoSoService hoSoService, ITaiLieuVanBanService taiLieuVanBanService, ILichSuHoatDongService lichSuHoatDongService, IFunctionLichSuHoatDongService functionLichSuHoatDongService) { _tuService = tuService; _keService = keService; _hopService = hopService; _hoSoService = hoSoService; _taiLieuVanBanService = taiLieuVanBanService; _lichSuHoatDongService = lichSuHoatDongService; _functionLichSuHoatDongService = functionLichSuHoatDongService; }
public void Init() { TestUtil.FlushRedisStore(); TestUtil.DeleteDataInDatabase(); TestUtil.InsertDataDatabase(); AutoMapperConfiguration.Configure(); _context = new MicrobrewitContext(); _repository = new HopRepository(); _elasticsearch = new HopElasticsearch(); _service = new HopService(_repository, _elasticsearch); _controller = new HopController(_service); }
public void Init() { TestUtil.FlushRedisStore(); TestUtil.DeleteDataInDatabase(); TestUtil.InsertDataDatabase(); AutoMapperConfiguration.Configure(); _context = new MicrobrewitContext(); _repository = new HopRepository(); _elasticsearch = new HopElasticsearch(); _service = new HopService(_repository,_elasticsearch); _controller = new HopController(_service); }
public HopController(IHopService hopService) { _hopService = hopService; }
public HopController(IHopService service) : base(service) { }
public HopsController(IHopService hopService, ILogger <HopsController> logger) { _hopService = hopService; _logger = logger; }