Exemplo n.º 1
0
 public FlightController(ICountryRepo countryRepo, IFlightRepo flightRepo, IGlobalRepo globalRepo, IHubContext <BookingHub> bookingHub, IBookingRepo bookingRepo)
 {
     _countryRepo = countryRepo;
     _flightRepo  = flightRepo;
     _globalRepo  = globalRepo;
     _bookingRepo = bookingRepo;
     _bookingHub  = bookingHub;
 }
Exemplo n.º 2
0
 public CommonDataService()
 {
     _ICountryRepo     = new CountryRepo();
     _IStateRepo       = new StateRepo();
     _IDistrictRepo    = new DistrictRepo();
     _ICityRepo        = new CityRepo();
     _IDesignationRepo = new DesignationRepo();
 }
        public EmployeeController(IEmployeeRepo repo, IDepartmentRepo department, ICountryRepo country, ICityRepo city)
        {
            this.repo = repo;

            this.department = department;
            this.city       = city;
            this.country    = country;
        }
Exemplo n.º 4
0
 public CountryController(ILogger <CountryController> logger,
                          ICountryRepo countryRepos, ApplicationDbContext context, IWebHostEnvironment env)
 {
     _logger       = logger;
     _countryRepos = countryRepos;
     _context      = context;
     _env          = env;
 }
Exemplo n.º 5
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.º 6
0
 public UnitOfWork(DataContext context)
 {
     this.context = context;
     cityRepo = new CityRepo(context);
     countryRepo = new CountryRepo(context);
     continentRepo = new ContinentRepo(context);
     riverRepo = new RiverRepo(context);
     
 }
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 BookingController(ICountryRepo countryRepo, IFlightRepo flightRepo, UserManager <CustomUser> userManager,
                          SignInManager <CustomUser> signInManager, IBookingRepo bookingRepo,
                          IGlobalRepo globalRepo)
 {
     _countryRepo   = countryRepo;
     _flightRepo    = flightRepo;
     _userManager   = userManager;
     _signInManager = signInManager;
     _bookingRepo   = bookingRepo;
     _globalRepo    = globalRepo;
 }
 public PublicMemberController(UserManager <CustomUser> userManager,
                               ICountryRepo countryRepo,
                               IFlightRepo flightRepo,
                               IBookingRepo bookingRepo,
                               IGlobalRepo globalRepo)
 {
     _userManager = userManager;
     _countryRepo = countryRepo;
     _flightRepo  = flightRepo;
     _bookingRepo = bookingRepo;
     _globalRepo  = globalRepo;
 }
Exemplo n.º 10
0
 public AccountController(ICountryRepo countryRepo,
                          IProvinceRepo provinceRepo,
                          ICityRepo cityRepo,
                          IBarangayRepo barangayRepo,
                          UserManager <AppUser> userManager,
                          SignInManager <AppUser> signInManager,
                          IMailService mailService)
 {
     this.countryRepo   = countryRepo;
     this.provinceRepo  = provinceRepo;
     this.cityRepo      = cityRepo;
     this.barangayRepo  = barangayRepo;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.mailService   = mailService;
 }
Exemplo n.º 11
0
 readonly ICountryRepo _countryRepo; //Storage for country data
 public CityService(ICityRepo cityRepo, ICountryRepo countryRepo)
 {
     this._cityRepo    = cityRepo;
     this._countryRepo = countryRepo;
 }
 public CountriesController(ICountryRepo repository, IMapper mapper)
 {
     _repo   = repository;
     _mapper = mapper;
 }
Exemplo n.º 13
0
 public CountryService(ICountryRepo countryRepo, ICityRepo cityRepo)
 {
     _countryRepo = countryRepo;
     _cityRepo    = cityRepo;
 }
Exemplo n.º 14
0
 public CountryService(ICountryRepo countryRepo)
 {
     _countryRepo = countryRepo;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CountriesController"/> class.
 /// </summary>
 /// <param name="countryRepo">The country repo.</param>
 public CountriesController(ICountryRepo countryRepo)
 {
     _countryRepo = countryRepo;
 }
Exemplo n.º 16
0
 public AccountController(IUserRepo userRepo, ICountryRepo countryRepo)
 {
     _userRepo = userRepo;
     _countryRepo = countryRepo;
 }
 public CountryController()
 {
     repo = new CountryRepo();
 }
Exemplo n.º 18
0
 public CountryController(ICountryRepo repo)
 {
     this.repo = repo;
 }
Exemplo n.º 19
0
 public CountryController(ICountryRepo countryRepo, IMapper mapper)
 {
     _countryRepo = countryRepo;
     _mapper      = mapper;
 }
Exemplo n.º 20
0
 public HomeController(ICountryRepo countryRepo)
 {
     _countryRepo = countryRepo;
 }
Exemplo n.º 21
0
 public ReqQuotationController(ICompServiceRepo reqQuoteRepo, ICountryRepo countryRepo, IPropertyRepo propertyRepo)
 {
     _reqQuoteRepo = reqQuoteRepo;
     _countryRepo  = countryRepo;
     _propertyRepo = propertyRepo;
 }
Exemplo n.º 22
0
 public CountryController(ICountryRepo countryRepo, ILogger <CountryController> logger)
 {
     _countryRepo = countryRepo;
     this.logger  = logger;
 }
 public Covid19RepoImpl(ICountryRepo countryRepo)
 {
     _countryRepo = countryRepo;
 }
Exemplo n.º 24
0
 public CityService(IPeopleRepo peopleRepo, ICityRepo cityRepo, ICountryRepo countryRepo)
 {
     _cityRepo    = cityRepo;
     _peopleRepo  = peopleRepo;
     _countryRepo = countryRepo;
 }
Exemplo n.º 25
0
 public CountryService()
 {
     _ICountryRepo = new CountryRepo();
 }