public Facade(IUnitStore unitStore, ICustomerStore customerStore, ITenancyStore tenancyStore, IDateService dateService) { this.unitStore = unitStore ?? throw new ArgumentNullException(nameof(unitStore)); this.customerStore = customerStore ?? throw new ArgumentNullException(nameof(customerStore)); this.tenancyStore = tenancyStore ?? throw new ArgumentNullException(nameof(tenancyStore)); this.dateService = dateService ?? throw new ArgumentNullException(nameof(dateService)); }
public CustomersViewModel(GlobalViewModel globalViewModel, ICustomerStore customerStore) { this.GlobalViewModel = globalViewModel; _customerStore = customerStore; _customerObserver = new Observer<IEnumerable<Customer>>(null, null, OnNextCustomers); _customerStore.Subscribe(_customerObserver); this.Customers = new ObservableCollection<CustomerViewModel>(); this.RefreshCommand = new DelegateCommand(Refresh); }
public CustomerService(ICustomerStore customerStore) { _customerStore = customerStore; }
public CustomerController(ICustomerStore customers) { _customers = customers; }
public CustomerController(ICustomerStore custormerStore) { this.customerStore = custormerStore; }
public CreateModel(AppDbContext repository, ICustomerStore customerStoreRepository) { _repository = repository; _customerStoreRepository = customerStoreRepository; }
public DeleteModel(AppDbContext appDbContext, ICustomerStore repository) { _appDbContext = appDbContext; _repository = repository; }
public CustomersController(ICustomerStore repository) { _repository = repository; }
public CustomerController(ICustomerStore store) { this.store = store; }
public CustomerManager(ICustomerStore customerStore, ILogger <CustomerManager> logger, IMapper mapper) { _customerStore = customerStore; _logger = logger; _mapper = mapper; }