/// <summary>
 ///  Initializes a new istance of the <see cref="FootballersController"/> class.
 /// </summary>
 /// <param name="_context">Context instance</param>
 /// <param name="_logger">Logger instance</param>
 /// <param name="_mapper">Mapper instance</param>
 public FootballersController(FootballManagerContext context, IFootballerRepository repository, ILogger <FootballersController> logger, IMapper mapper)
 {
     _context    = context;
     _repository = repository;
     _logger     = logger;
     _mapper     = mapper;
 }
 public FootballerService(IFootballerRepository footballerRepository,
                          IPositionRepository positionRepository,
                          IUnitOfWork unitOfWork)
 {
     this.footballerRepository = footballerRepository;
     this.positionRepository   = positionRepository;
     this.unitOfWork           = unitOfWork;
 }
Beispiel #3
0
 public HomeController(IFootballerRepository footballerRepository)
 {
     this.footballerRepository = footballerRepository;
 }
Beispiel #4
0
 public FootballerController(IFootballerRepository FootballerRepository, IHubContext <SignalServer> context)
 {
     this.FootballerRepository = FootballerRepository;
     this.context = context;
 }
 public FootballerController(IFootballerRepository _footballerRepository, IFootballerService _footballerService)
 {
     footballerRepository = _footballerRepository;
     footballerService    = _footballerService;
 }
Beispiel #6
0
 public FootballerService(IFootballerRepository _footballerRepository)
 {
     footballerRepository = _footballerRepository;
 }
 public FootballerController(IFootballerRepository <int> footballerRepository)
 {
     _footballerRepository = footballerRepository;
 }