Exemplo n.º 1
0
 public StoreDetailViewModel(Store store)
 {
     Id = store.Id;
     Name = store.Name;
     Address = store.Address;
     Postcode = store.Postcode;
     OpeningHours = store.OpeningHours;
 }
 public StoreDetailProductListViewModel(Store store, IQueryable<Product> products)
 {
     Id = store.Id;
     Name = store.Name;
     Address = store.Address;
     Postcode = store.Postcode;
     OpeningHours = store.OpeningHours;
     Products = products;
 }