示例#1
0
 public ImagesService(
     ICloudinaryHelper cloudinaryHelper,
     IApplicationCloudinary cloudinary,
     IDeletableEntityRepository <Image> imagesRepository)
 {
     this.imagesRepository = imagesRepository;
     this.cloudinary       = cloudinary;
     this.imagePathPrefix  = cloudinaryHelper.GetPrefix();
 }
示例#2
0
 public ModifyGameCommandHandler(
     IDeletableEntityRepository <Game> gamesRepository,
     ICloudinaryHelper cloudinaryHelper,
     IMediator mediator)
 {
     this.gamesRepository  = gamesRepository;
     this.cloudinaryHelper = cloudinaryHelper;
     this.mediator         = mediator;
 }
示例#3
0
 public CreateTournamentCommandHandler(
     IDeletableEntityRepository <Tournament> tournamentsRepository,
     IDeletableEntityRepository <TournamentFormat> tournamentFormatsRepository,
     ICloudinaryHelper cloudinaryHelper,
     IMediator mediator)
 {
     this.tournamentsRepository       = tournamentsRepository;
     this.tournamentFormatsRepository = tournamentFormatsRepository;
     this.cloudinaryHelper            = cloudinaryHelper;
     this.mediator = mediator;
 }
示例#4
0
 public PostsController(
     IPostService postService,
     ISearchBarService searchBarService,
     UserManager <ApplicationUser> userManager,
     ICloudinaryHelper cloudinaryHelper,
     Cloudinary cloudinary)
 {
     this.postService      = postService;
     this.searchBarService = searchBarService;
     this.userManager      = userManager;
     this.cloudinaryHelper = cloudinaryHelper;
     this.cloudinary       = cloudinary;
 }
示例#5
0
 public GuidesController(
     IGuidesService guidesService,
     IGamesService gamesService,
     ISearchBarService searchBarService,
     UserManager <ApplicationUser> userManager,
     ICloudinaryHelper cloudinaryHelper,
     Cloudinary cloudinary)
 {
     this.guidesService    = guidesService;
     this.gamesService     = gamesService;
     this.searchBarService = searchBarService;
     this.userManager      = userManager;
     this.cloudinaryHelper = cloudinaryHelper;
     this.cloudinary       = cloudinary;
 }
示例#6
0
 public SuggestionsController(
     ISuggestionsService suggestionsService,
     UserManager <ApplicationUser> userManager,
     ICloudinaryHelper cloudinaryHelper,
     Cloudinary cloudinary,
     IVotesService votesService,
     IGamesService gamesService)
 {
     this.suggestionsService = suggestionsService;
     this.userManager        = userManager;
     this.cloudinaryHelper   = cloudinaryHelper;
     this.cloudinary         = cloudinary;
     this.votesService       = votesService;
     this.gamesService       = gamesService;
 }
示例#7
0
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender,
     ICloudinaryHelper cloudinaryHelper,
     Cloudinary cloudinary)
 {
     this._userManager     = userManager;
     this._signInManager   = signInManager;
     this._logger          = logger;
     this._emailSender     = emailSender;
     this.cloudinaryHelper = cloudinaryHelper;
     this.cloudinary       = cloudinary;
 }
示例#8
0
 public CreateTeamCommandHandler(
     IDeletableEntityRepository <Team> teamsRepository,
     IDeletableEntityRepository <TournamentFormat> formatsRepository,
     IDeletableEntityRepository <PlayerTeam> playerTeamsRepository,
     IDeletableEntityRepository <Player> playersRepository,
     ICloudinaryHelper cloudinaryHelper,
     IMapper mapper,
     IUserAccessor userAccessor)
 {
     this.teamsRepository       = teamsRepository;
     this.formatsRepository     = formatsRepository;
     this.playerTeamsRepository = playerTeamsRepository;
     this.playersRepository     = playersRepository;
     this.cloudinaryHelper      = cloudinaryHelper;
     this.mapper       = mapper;
     this.userAccessor = userAccessor;
 }
示例#9
0
 public UsersService(
     ICitiesService citiesService,
     ICountriesService countriesService,
     ISportsService sportsService,
     IImagesService imagesService,
     ICloudinaryHelper cloudinaryHelper,
     IDeletableEntityRepository <ApplicationUser> usersRepository,
     IRepository <EventUser> eventsUsersRepository,
     IEmailSender emailSender)
 {
     this.citiesService         = citiesService;
     this.countriesService      = countriesService;
     this.sportsService         = sportsService;
     this.imagesService         = imagesService;
     this.usersRepository       = usersRepository;
     this.eventsUsersRepository = eventsUsersRepository;
     this.emailSender           = emailSender;
     this.imagePathPrefix       = cloudinaryHelper.GetPrefix();
 }
示例#10
0
 public ModifyTournamentCommandHandler(IDeletableEntityRepository <Tournament> tournamentsRepository, ICloudinaryHelper cloudinaryHelper)
 {
     this.tournamentsRepository = tournamentsRepository;
     this.cloudinaryHelper      = cloudinaryHelper;
 }
 public ModifyTeamCommandHandler(IDeletableEntityRepository <Team> teamsRepository, ICloudinaryHelper cloudinaryHelper, IUserAccessor userAccessor)
 {
     this.teamsRepository  = teamsRepository;
     this.userAccessor     = userAccessor;
     this.cloudinaryHelper = cloudinaryHelper;
 }
示例#12
0
 public MessagesService(IRepository <Message> messagesRepository, ICloudinaryHelper cloudinaryHelper)
 {
     this.messagesRepository = messagesRepository;
     this.imagePathPrefix    = cloudinaryHelper.GetPrefix();
 }