Пример #1
0
 public CommentController(IPitchService pitchService, IPitchImage pitchImage, IHostingEnvironment enviroment,
                          IUserService userService, ICommentService commentService, IAccountService accountService)
 {
     _pitchService   = pitchService;
     _environment    = enviroment;
     _pitchImage     = pitchImage;
     _userService    = userService;
     _commentService = commentService;
     _accountService = accountService;
 }
Пример #2
0
 public PitchesController(IPitchService pitchService, IAddressService addressService, IWebHostEnvironment hostingEnvironment)
 {
     this.pitchService          = pitchService;
     this.addressService        = addressService;
     this.pitchCoverHostingPath = $"{hostingEnvironment.WebRootPath}/img/fields/";
 }
Пример #3
0
 public HomeController(IGatherService gatherService, IRecruitmentService recruitmentService, IPitchService pitchService)
 {
     this.gatherService      = gatherService;
     this.recruitmentService = recruitmentService;
     this.pitchService       = pitchService;
 }
Пример #4
0
 public PitchController(IPitchService pitchservice, IHostingEnvironment enviroment, IPitchImage pitchImage)
 {
     _pitchservice = pitchservice;
     _environment  = enviroment;
     _pitchImage   = pitchImage;
 }
Пример #5
0
 public HomeController(IPitchService pitchService, IMapService mapService, IWeatherService weatherService)
 {
     _pitchService   = pitchService;
     _mapService     = mapService;
     _weatherService = weatherService;
 }
Пример #6
0
 public PitchesController(IPitchService pitchService)
 {
     this.pitchService = pitchService;
 }
Пример #7
0
 public BookingService(IEnumerable <IUnavailabilityProvider> unavailabilityProviders, IPitchService pitchService)
 {
     _unavailabilityProviders = unavailabilityProviders;
     _pitchService            = pitchService;
 }
Пример #8
0
 public ReservationController(IReservationService reservationService, ICaptainService captainService, IPitchService pitchService)
 {
     _reservationService = reservationService;
     _captainService     = captainService;
     _pitchService       = pitchService;
 }
Пример #9
0
 public PitchController(IPitchService pitchService)
 {
     _pitchService = pitchService;
 }