public SupplyService(ISupplyQueryRepository supplyQueryRepository, ISupplyCommandRepository supplyCommandRepository, SupplyContext supplyContext, IStoreService storeService, IIdentityService identityService, IMapper mapper) { _supplyQueryRepository = supplyQueryRepository ?? throw new ArgumentNullException(nameof(supplyQueryRepository)); _supplyCommandRepository = supplyCommandRepository ?? throw new ArgumentNullException(nameof(supplyCommandRepository)); _supplyContext = supplyContext ?? throw new ArgumentNullException(nameof(supplyContext)); _storeService = storeService ?? throw new ArgumentNullException(nameof(storeService)); _identityService = identityService ?? throw new ArgumentNullException(nameof(identityService)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public FlowerRepository(SupplyContext dbContext) { supplyDbContext = dbContext; }
public FlowerPlantationRepository(SupplyContext supplyContext) { supplyDbContext = supplyContext; }
public SupplyCommandRepository(SupplyContext supplyContext, IMapper mapper) { _supplyContext = supplyContext ?? throw new ArgumentNullException(nameof(supplyContext)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public SupplyRepository(SupplyContext supplyContext) { supplyDbContext = supplyContext; }
public UnitOfWork(SupplyContext dbContext) { supplyDbContext = dbContext; }
public FlowerWarehouseRepository(SupplyContext supplyContext) { supplyDbContext = supplyContext; }
public SupplyQueryRepository(SupplyContext supplyContext) { _supplyContext = supplyContext ?? throw new ArgumentNullException(nameof(supplyContext)); }