public AddItemToStoreViewModel() { Items = new BindableCollection <Item>(ItemsProcessor.GetItems <Item>()); Stores = new BindableCollection <Store>(StoreProcessor.GetStores <Store>()); Vendors = new BindableCollection <Vendor>(VendorsProcessor.GetVendors <Vendor>()); StoreItems = new BindableCollection <Item>(); }
public void SearchItem() { Item searchedItem = new Item { Title = Title, Description = Description, Price = Price, Sold = Sold, PaymentDistributed = PaymentDistributed, Owner = Owner }; Items = new BindableCollection <Item>(ItemsProcessor.GetItems <Item>(searchedItem)); }
public ActionResult <Task <List <Item> > > GetItems(Guid id) { return(itProcessor.GetItems(id)); }
public AddNewItemViewModel() { Items = new BindableCollection <Item>(ItemsProcessor.GetItems <Item>()); Vendors = new BindableCollection <Vendor>(VendorsProcessor.GetVendors <Vendor>()); }