public LookupsController(ILookupsRepository repository,
                          IIdentityService identityService,
                          ISpecificationFactory specificationFactory)
 {
     _repository           = repository;
     _identityService      = identityService;
     _specificationFactory = specificationFactory;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="repsitory"></param>
 /// <param name="specificationFactory"></param>
 /// <param name="identityService"></param>
 /// <param name="domainService"></param>
 /// <param name="lookupsRepository"></param>
 /// <param name="reportService"></param>
 /// <param name="configuration"></param>
 public NoAuthUserController(IReadAsyncRepository <NoAuthUser> repsitory,
                             ISpecificationFactory specificationFactory,
                             IIdentityService identityService, IDomainService <NoAuthUser> domainService,
                             ILookupsRepository lookupsRepository, IReportService reportService,
                             IConfiguration configuration) : base(repsitory, domainService, specificationFactory, identityService)
 {
     _lookupsRepository    = lookupsRepository;
     _reportService        = reportService;
     _specificationFactory = specificationFactory;
     _configuration        = configuration;
 }
Beispiel #3
0
        public UnitOfWork(IProductRepository productRepository, IOrderRepository orderRepository,
                          IUserRepository userRepository, IPaymentRepository paymentRepository,
                          ICustomerRepository customerRepository, ILookupsRepository lookupsRepository
                          , ICartRepository cartRepository

                          )
        {
            Lookups   = lookupsRepository;
            Users     = userRepository;
            Customers = customerRepository;
            Products  = productRepository;
            Orders    = orderRepository;
            Carts     = cartRepository;
            Payments  = paymentRepository;
        }
Beispiel #4
0
 public IActionResult Lookups([FromServices] ILookupsRepository repository)
 {
     return(Ok(repository.GetLookups()));
 }
 public LookupsController(ILookupsRepository db)
 {
     _db = db;
 }
Beispiel #6
0
 public LookupsController(ILookupsRepository repository)
 {
     this.repository = repository;
 }
 public LookupsController(ILookupsRepository repository)
 {
     this.repository = repository;
 }
Beispiel #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LookupsProcessor"/> class.
 /// </summary>
 /// <param name="db">The db.</param>
 public LookupsProcessor(ILookupsRepository db)
 {
     _db = db;
 }
Beispiel #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LookupsProcessor"/> class.
 /// </summary>
 public LookupsProcessor()
 {
     _db = new LookupsRepository();
 }
 public LookupsProcessor(ILookupsRepository repository)
 {
     _repository = repository;
 }
Beispiel #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClientProcessor" /> class.
 /// </summary>
 /// <param name="db">The db.</param>
 /// <param name="lookups">The lookups.</param>
 public ClientProcessor(ITimeTrackerRepository db, ILookupsRepository lookups)
 {
     _db      = db;
     _lookups = lookups;
 }
Beispiel #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClientProcessor" /> class.
 /// </summary>
 public ClientProcessor()
 {
     _db      = new TimeTrackerRepository();
     _lookups = new LookupsRepository();
 }
Beispiel #13
0
 public InvoicingProcessor(ITimeTrackerRepository db, ILookupsRepository lookups)
 {
     _db      = db;
     _lookups = lookups;
 }
Beispiel #14
0
 public InvoicingProcessor()
 {
     _db      = new TimeTrackerRepository();
     _lookups = new LookupsRepository();
 }
 public BaseEntityLookupManager(IUserManager userManager, ICacheStoreManager cacheStoreManager, ILookupsRepository lookupsRepository) : base(userManager)
 {
     CacheManager      = ValidateObject(cacheStoreManager);
     LookupsRepository = ValidateRepository(lookupsRepository);
 }