Ejemplo n.º 1
0
 public void Update(UpdateRestaurant.Command update)
 {
     CityId     = update.CityId;
     Name       = update.Name;
     Notes      = update.Notes;
     ParkingLot = update.ParkingLot;
     Tried      = update.Tried;
     Yelp       = update.Yelp;
 }
Ejemplo n.º 2
0
 public async Task UpdateRestaurant(Guid id, UpdateRestaurant.Command command)
 {
     command.Id = id;
     await _mediator.Send(command);
 }