public ReEntryController(IReEntryRepository reentryRepository, IVisaRepository visaRepository, IReferenceRepository referenceRepository) { this.reentryRepo = reentryRepository; this.refRepo = referenceRepository; this.visaRepo = visaRepository; }
/// <summary> /// Initializes a new instance of the <see cref="AgencyLogic"/> class. /// Constructor for agencylogic object. /// </summary> /// <param name="agrepo">Agency repository.</param> /// <param name="aprepo">Applicant repository.</param> /// <param name="payrepo">Payment repository.</param> /// <param name="visarepo">Visa repository.</param> public AgencyLogic(IAgencyRepository agrepo, IApplicantRepository aprepo, IPaymentRepository payrepo, IVisaRepository visarepo) { this.agencyRepository = agrepo; this.applRepository = aprepo; this.payRepository = payrepo; this.visaRepository = visarepo; }
/// <summary> /// Initializes a new instance of the <see cref="VisaLogic"/> class. /// </summary> public VisaLogic() { EmbCtx emb = new EmbCtx(); this.visarepository = new VisaRepository(emb); this.apprepository = new ApplicantRepository(emb); }
/// <summary> /// Initializes a new instance of the <see cref="AgencyLogic"/> class. /// Constructor agency. /// </summary> public AgencyLogic() { EmbCtx ctx = new EmbCtx(); this.agencyRepository = new AgencyRepository(ctx); this.applRepository = new ApplicantRepository(ctx); this.payRepository = new PaymentRepository(ctx); this.visaRepository = new VisaRepository(ctx); }
public ApplicantVisaInfoesController(IApplicantRepository applicantRepository, IVisaRepository visaRepository, ICountryRepository countryRepository, IStateRepository stateRepository, IVisaStatusRepository visastatusRepository, IApplicantVisaInfoRepository applicantvisainfoRepository) { this.applicantRepository = applicantRepository; this.visaRepository = visaRepository; this.countryRepository = countryRepository; this.stateRepository = stateRepository; this.visastatusRepository = visastatusRepository; this.applicantvisainfoRepository = applicantvisainfoRepository; }
/// <summary> /// Initializes a new instance of the <see cref="VisaLogic"/> class. /// Constructor. /// </summary> /// <param name="repo">interface visa repository.</param> public VisaLogic(IVisaRepository repo = null) { if (repo == null) { this.visarepository = new VisaRepository(new EmbCtx()); } else { this.visarepository = repo; } }
public VisaService(IUnitOfWork unitOfWork, IVisaRepository visaRepo) : base(unitOfWork, visaRepo) { _visaRepo = visaRepo; }
public VisaController(IVisaRepository visaRepository) { this.visaRepository = visaRepository; }
public HomeController(IBus bus, IVisaRepository visaRepository) { _bus = bus; _visaRepository = visaRepository; }
/// <summary> /// Initializes a new instance of the <see cref="VisaLogic"/> class. /// Visa constructor. /// </summary> /// <param name="aplRepo">interface repo.</param> /// <param name="visaRepo">interface repo for visa.</param> public VisaLogic(IApplicantRepository aplRepo, IVisaRepository visaRepo) { this.apprepository = aplRepo; this.visarepository = visaRepo; }
public VisaApplicationService(IVisaRepository repository, IUnitOfWork unitOfWork) { _repository = repository; _unitOfWork = unitOfWork; }
public VisaController(IVisaRepository visaRepository, IReferenceRepository referenceRepository) { this.visaRepo = visaRepository; this.refRepo = referenceRepository; }
public VisaCheckHandler(IVisaRepository visaRepository) { _visaRepository = visaRepository; }