Exemplo n.º 1
0
 public void UpdateStore(Store store)
 {
     _storeRepository.UpdateStore(store);
 }
Exemplo n.º 2
0
 public void UpdateStore(Store store)
 {
     var updateStore = _stores.First(s => s.Id == store.Id);
     if (updateStore != null)
     {
         updateStore.City = store.City;
         updateStore.Id = store.Id;
         updateStore.Name = store.Name;
         updateStore.Number = store.Number;
         updateStore.State = store.State;
     }
 }
Exemplo n.º 3
0
 public void Post(Store store)
 {
     _storeService.UpdateStore(store);
 }