Esempio n. 1
0
        public SaleViewModel(MainShopRepository shopRepository)
        {
            if (shopRepository == null)
            {
                throw new ArgumentNullException(nameof(shopRepository));
            }

            ShopRepository = shopRepository;
        }
Esempio n. 2
0
 public ReferencesController(MainShopRepository repository)
 {
     _repository = repository;
 }