Exemple #1
0
        //private readonly IMapper _mapper;
        //private readonly IEventPublisher _eventPublisher;

        public ServiceCategoryService(
            IServiceCategoryRepository serviceCategoryRepository,
            IServiceItemRepository serviceRepository
            )
        {
            //_eventPublisher = eventPublisher;
            //_session = session;
            //_mapper = mapper;
            _serviceCategoryRepository = serviceCategoryRepository;
            _serviceRepository         = serviceRepository;
        }
Exemple #2
0
 public ServiceCategoryEventHandler(IServiceCategoryRepository serviceCategoryRepository,
                                    IServiceItemRepository serviceRepository,
                                    IAvailabilityRepository availabilityRepository,
                                    IUnavailabilityRepository unavailabilityRepository
                                    )
 {
     _serviceCategoryRepository = serviceCategoryRepository;
     _serviceRepository         = serviceRepository;
     _availabilityRepository    = availabilityRepository;
     _unavailabilityRepository  = unavailabilityRepository;
 }
Exemple #3
0
 public ServiceCategoryQueryService(
     ISession session,
     IMapper mapper,
     IServiceCategoryRepository serviceCategoryRepository,
     IServiceItemRepository serviceItemRepository
     )
 {
     _session = session;
     _mapper  = mapper;
     _serviceCategoryRepository = serviceCategoryRepository;
     _serviceItemRepository     = serviceItemRepository;
 }
Exemple #4
0
 public TestDataInitializerService(IDepositTypeRepository depositTypeRepository,
                                   IServiceCategoryRepository servCatRepo, IServiceRepository servRepo,
                                   ICardRepository cardRepository, IAccountRepository accountRepository,
                                   ILoanTypeRepository loanTypeRepository, ILogger logger)
 {
     _depositTypeRepository     = depositTypeRepository;
     _cardRepository            = cardRepository;
     _accountRepository         = accountRepository;
     _loanTypeRepository        = loanTypeRepository;
     _serviceCategoryRepository = servCatRepo;
     _serviceRepository         = servRepo;
     _logger = logger;
 }
Exemple #5
0
 public ServiceCategoryService(
     //ISession session,
     IBusinessIntegrationEventService businessIntegrationEventService,
     IMapper mapper,
     IServiceCategoryRepository serviceCategoryRepository,
     IServiceItemRepository serviceItemRepository
     )
 {
     //_session = session;
     _businessIntegrationEventService = businessIntegrationEventService;
     _mapper = mapper;
     _serviceCategoryRepository = serviceCategoryRepository;
     _serviceItemRepository     = serviceItemRepository;
 }
Exemple #6
0
 public UnitOfWork(
     BankDbContext context
     , IAccountRepository accountRepository
     , ICardRepository cardRepository
     , ICityRepository cityRepository
     , ICurrencyRepository currencyRepository
     , IDepositRepository depositRepository
     , IDepositTypeRepository depositTypeRepository
     , IEmploymentRepository employmentRepository
     , IEmploymentTypeRepository employmentTypeRepository
     , IInterestPaymentTypeRepository interestPaymentTypeRepository
     , ILoanRepository loanRepository
     , ILoanRequestRepository loanRequestRepository
     , ILoanTypeRepository loanTypeRepository
     , IQuestionRepository questionRepository
     , IServiceCategoryRepository serviceCategoryRepository
     , IServiceRepository serviceRepository
     , ITransactionsRepository transactionsRepository
     , IAccountPropertyRepository accountPropertyRepository
     )
 {
     _context                       = context;
     _accountRepository             = new Lazy <IAccountRepository>(accountRepository);
     _cardRepository                = new Lazy <ICardRepository>(cardRepository);
     _cityRepository                = new Lazy <ICityRepository>(cityRepository);
     _currencyRepository            = new Lazy <ICurrencyRepository>(currencyRepository);
     _depositRepository             = new Lazy <IDepositRepository>(depositRepository);
     _depositTypeRepository         = new Lazy <IDepositTypeRepository>(depositTypeRepository);
     _employmentRepository          = new Lazy <IEmploymentRepository>(employmentRepository);
     _employmentTypeRepository      = new Lazy <IEmploymentTypeRepository>(employmentTypeRepository);
     _interestPaymentTypeRepository = new Lazy <IInterestPaymentTypeRepository>(interestPaymentTypeRepository);
     _loanRepository                = new Lazy <ILoanRepository>(loanRepository);
     _loanRequestRepository         = new Lazy <ILoanRequestRepository>(loanRequestRepository);
     _loanTypeRepository            = new Lazy <ILoanTypeRepository>(loanTypeRepository);
     _questionRepository            = new Lazy <IQuestionRepository>(questionRepository);
     _serviceCategoryRepository     = new Lazy <IServiceCategoryRepository>(serviceCategoryRepository);
     _serviceRepository             = new Lazy <IServiceRepository>(serviceRepository);
     _transactionsRepository        = new Lazy <ITransactionsRepository>(transactionsRepository);
     _accountPropertyRepository     = new Lazy <IAccountPropertyRepository>(accountPropertyRepository);
 }
 public CreatePresenter(IServiceBookingRepository serviceBookingRepository, IServiceRepository serviceRepository, IServiceCategoryRepository serviceCategoryRepository)
 {
     _serviceBookingRepository = serviceBookingRepository;
     _serviceRepository = serviceRepository;
     _serviceCategoryRepository = serviceCategoryRepository;
 }
 public AddPresenter(IServiceCategoryRepository categoryRepository)
 {
     _categoryRepository = categoryRepository;
 }
Exemple #9
0
 public ShowCategoriesHandler(IServiceCategoryRepository serviceCategoryRepository)
 {
     this.serviceCategoryRepository = serviceCategoryRepository;
 }
 public ServiceCategoryService(IServiceCategoryRepository serviceCategoryRepository)
 {
     this.serviceCategoryRepository = serviceCategoryRepository;
 }
Exemple #11
0
 public SearchCategoryHandler(IServiceCategoryRepository serviceCategoryRepository)
 {
     this.serviceCategoryRepository = serviceCategoryRepository;
 }
Exemple #12
0
 public AddPresenter(IServiceCategoryRepository categoryRepository)
 {
     _categoryRepository = categoryRepository;
 }
 public ServiceCategoryServiceImpl(IServiceCategoryRepository serviceCategoryRepo, IMapper mapper)
 {
     this._mapper = mapper;
     this._serviceCategoryRepo = serviceCategoryRepo;
 }
Exemple #14
0
 public CreatePresenter(IServiceBookingRepository serviceBookingRepository, IServiceRepository serviceRepository, IServiceCategoryRepository serviceCategoryRepository)
 {
     _serviceBookingRepository  = serviceBookingRepository;
     _serviceRepository         = serviceRepository;
     _serviceCategoryRepository = serviceCategoryRepository;
 }
Exemple #15
0
 public ServiceCatagoryController(IServiceCategoryRepository genericRepository, DatabaseContext context) : base(genericRepository, context)
 {
     _genericRepository = genericRepository;
     _context           = context;
     _entity            = _context.Set <ServiceCatagoryEntity>();
 }
 public ViewDetailPresenter(IServiceCategoryRepository categoryRepository)
 {
     _categoryRepository = categoryRepository;
 }
 public RegisterCategoryHandler(IServiceCategoryRepository serviceCategoryRepository)
 {
     this.serviceCategoryRepository = serviceCategoryRepository;
 }
Exemple #18
0
 public ServiceCategoriesController(IMapper mapper, IUnitOfWork unitOfWork, IServiceCategoryRepository repository)
 {
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
     _repository = repository;
 }
 public ServiceCategoryBL()
 {
     categoryRepository = new ServiceCategoryRepository();
 }
Exemple #20
0
 public ViewDetailPresenter(IServiceCategoryRepository categoryRepository)
 {
     _categoryRepository = categoryRepository;
 }
 public AddPresenter(IServiceRepository serviceRepository, IServiceCategoryRepository categoryRepository)
 {
     _serviceRepository = serviceRepository;
     _categoryRepository = categoryRepository;
 }
Exemple #22
0
 public AddPresenter(IServiceRepository serviceRepository, IServiceCategoryRepository categoryRepository)
 {
     _serviceRepository  = serviceRepository;
     _categoryRepository = categoryRepository;
 }
Exemple #23
0
 public ServiceCategoryBusinessLayer()
 {
     this._serviceCategoryRepository = new ServiceCategoryRepository();
 }