public HorsesController(IHorseService horseService, IMapper <Dto.Horse, Models.HorseDetail> horseDetailMapper, IMapper <Dto.Horse, Models.HorseSummary> horseSummaryMapper) { _horseService = horseService; _horseDetailMapper = horseDetailMapper; _horseSummaryMapper = horseSummaryMapper; }
public HorseController(SportBetsContext context, IHorseFinder horseFinder, IUnitOfWork unitOfWork, IRepository <Horse> repository, IHorseService horseService) { _context = context; _horseFinder = horseFinder; _unitOfWork = unitOfWork; _repository = repository; _horseService = horseService; }
public void TestSetup() { HorseFactory.Create(Context).WithColor().WithDam().WithSire(); _horseService = Container.Resolve <IHorseService>(); }
public HorseAPIController(IHorseService horseService) { _horseService = horseService; _mainResponse = new MainResponse(); }
public HorseController(IHorseService _IHorseService) { IHorseService = _IHorseService; }
public HorsesController(IHorseService horseService) { _horseService = horseService; }
public HorsesController(IOptions <AppConfig> appConfig, ILogger <HorsesController> logger, IHorseService horseSerivce) { _appConfig = appConfig; _logger = logger; _horseService = horseSerivce; }
public Application(ILogger logger, IHorseService horseService) { _logger = logger; _horseService = horseService; }