public SaleViewModel(MainShopRepository shopRepository) { if (shopRepository == null) { throw new ArgumentNullException(nameof(shopRepository)); } ShopRepository = shopRepository; }
public ReferencesController(MainShopRepository repository) { _repository = repository; }