Exemplo n.º 1
0
 public AdminService(IAdminRepo adminRepo, ICompetitionRepo competitionRepo, IAdminRequestRepo adminRequestRepo, IMappingService mappingService)
 {
     _adminRepo        = adminRepo;
     _adminRequestRepo = adminRequestRepo;
     _competitionRepo  = competitionRepo;
     _mappingService   = mappingService;
 }
Exemplo n.º 2
0
 public CandidateController(ICandidatesRepo candidates, ICandidateTestsRepo submissions, ISessionService sessionService, IAdminRepo adminRepo)
 {
     _candidates     = candidates;
     _submissions    = submissions;
     _sessionService = sessionService;
     _adminRepo      = adminRepo;
 }
Exemplo n.º 3
0
 public ParticipantService(IParticipantRepo participantRepo, IInvitationRepo invitationRepo, IParticipationRequestRepo participationRequestRepo, IAdminRepo adminRepo)
 {
     _participantRepo          = participantRepo;
     _invitationRepo           = invitationRepo;
     _participationRequestRepo = participationRequestRepo;
     _adminRepo = adminRepo;
 }
Exemplo n.º 4
0
 public AdminService(
     IAdminRepo adminRepo,
     IUserService userService)
 {
     _userService = userService;
     _adminRepo   = adminRepo;
 }
 public CompetitionService(ICompetitionRepo competitionRepo, IChallengeRepo challengeRepo, IMappingService mappingService, IAdminRepo adminRepo, IParticipantRepo participantRepo)
 {
     _competitionRepo = competitionRepo;
     _challengeRepo   = challengeRepo;
     _mappingService  = mappingService;
     _adminRepo       = adminRepo;
     _participantRepo = participantRepo;
 }
Exemplo n.º 6
0
 public AdminController(ICountryRepo countryRepo, IFlightRepo flightRepo, IBookingRepo bookingRepo, IAdminRepo adminRepo, IGlobalRepo globalRepo)
 {
     _countryRepo = countryRepo;
     _flightRepo  = flightRepo;
     _bookingRepo = bookingRepo;
     _adminRepo   = adminRepo;
     _globalRepo  = globalRepo;
 }
Exemplo n.º 7
0
 public StaffController(UserManager <CustomUser> userManager, ICountryRepo countryRepo, IFlightRepo flightRepo, IBookingRepo bookingRepo, IAdminRepo adminRepo, IGlobalRepo globalRepo, IStaffRepo staffRepo)
 {
     _userManager = userManager;
     _countryRepo = countryRepo;
     _flightRepo  = flightRepo;
     _bookingRepo = bookingRepo;
     _adminRepo   = adminRepo;
     _globalRepo  = globalRepo;
     _staffRepo   = staffRepo;
 }
Exemplo n.º 8
0
 public AccountController(
     UserManager <CustomUser> userManager,
     SignInManager <CustomUser> signInManager,
     IEmailSender emailSender,
     ISmsSender smsSender,
     ILoggerFactory loggerFactory,
     IServiceProvider serviceProvider,
     IAdminRepo adminRepo)
 {
     _userManager     = userManager;
     _signInManager   = signInManager;
     _emailSender     = emailSender;
     _smsSender       = smsSender;
     _logger          = loggerFactory.CreateLogger <AccountController>();
     _serviceProvider = serviceProvider;
     _adminRepo       = adminRepo;
 }
Exemplo n.º 9
0
 public AdminService(IAdminRepo adminRepo)
 {
     _adminRepo = adminRepo;
 }
Exemplo n.º 10
0
 public AdminController(IAdminRepo repo)
 {
     _repo = repo;
 }
Exemplo n.º 11
0
 public AdminController(IAdminRepo repository, ILogin login)
 {
     _repository = repository;
     _login      = login;
 }
 public AdminRequestService(IAdminRequestRepo adminRequestRepo, IAdminRepo adminRepo)
 {
     _adminRequestRepo = adminRequestRepo;
     _adminRepo        = adminRepo;
 }
Exemplo n.º 13
0
 public AdminController(IAdminRepo repo)
 {
     _repo = repo;
 }
Exemplo n.º 14
0
 /// <summary>
 /// One-argument constructor initializing the admin repository
 /// </summary>
 /// <param name="adminRepo">the given value for the admin repo</param>
 public AdminSocket(IAdminRepo adminRepo)
 {
     this.adminRepo = adminRepo;
     FILE_PATH      = ImagesUtil.FILE_PATH;
 }
 public AdministrationController(IAdminRepo adminRepo, IIngredientService ingredientService, IPizzaService pizzaService)
 {
     _adminRepo         = adminRepo;
     _ingredientService = ingredientService;
     _pizzaService      = pizzaService;
 }
 public AdminWizardMenu(IAdminRepo repo)
 {
     //this.repo = repo;
     this.adminService = new AdminService(repo);
 }
Exemplo n.º 17
0
 public AdminController(IAdminRepo repo)
 {
     this.repo = repo;
 }
Exemplo n.º 18
0
 public AdminController(IFirmRepo firmRepo, IPropertyManager manager, IAdminRepo adminRepo)
 {
     _firmRepo  = firmRepo;
     _manager   = manager;
     _adminRepo = adminRepo;
 }
Exemplo n.º 19
0
 public SysAdminController(IAdminRepo Arepo)
 {
     this.Arepo = Arepo;
 }
Exemplo n.º 20
0
 public AdminController(IAdminRepo Repo)
 {
     _Repo = Repo;
 }
Exemplo n.º 21
0
 public AdminSigninController(IAdminRepo adminRepo, IPasswordService passwordService)
 {
     _adminRepo       = adminRepo;
     _passwordService = passwordService;
 }
 public AdminController(ApplicationDbContext context, IAdminRepo repo, IConfiguration configuration)
 {
     this.repo     = repo;
     _context      = context;
     Configuration = configuration;
 }
Exemplo n.º 23
0
 public CategoryController(IAdminRepo Repo, IMapper mapper)
 {
     _Repo   = Repo;
     _mapper = mapper;
 }
 public AdministrationController(IAdminRepo adminRepo, IIngredientService ingredientService, IPizzaService pizzaService)
 {
     _adminRepo = adminRepo;
     _ingredientService = ingredientService;
     _pizzaService = pizzaService;
 }
Exemplo n.º 25
0
 public AdminService(IAdminRepo repo)
 {
     this.repo = repo;
 }
Exemplo n.º 26
0
 public SessionService(IAdminRepo adminRepo)
 {
     _adminRepo = adminRepo;
 }
Exemplo n.º 27
0
 public AdminController(UserManager <CustomUser> userManager, IAdminRepo adminRepo)
 {
     _userManager = userManager;
     _adminRepo   = adminRepo;
 }
Exemplo n.º 28
0
 public AdminService(IAdminView view)
 {
     this._adminView = view;
     _db             = new AdminRepo(this);
 }
Exemplo n.º 29
0
 public SuperAdminController(IAdminRepo arepo)
 {
     this.arepo = arepo;
 }
Exemplo n.º 30
0
 public AdminServiceImpl(IAdminRepo repository)
 {
     _repository = repository;
 }
 public AdminController(IAdminRepo arepo, IProductRepo prepo, ICustomerRepo crepo)
 {
     this.arepo = arepo;
     this.prepo = prepo;
     this.crepo = crepo;
 }
Exemplo n.º 32
0
 public UserRepo(LibraryContext context, IMapper mapper, IAdminRepo repository)
 {
     _context    = context;
     _mapper     = mapper;
     _repository = repository;
 }