Ejemplo n.º 1
0
 public PinData(string iconUrl, Restaurant2 restaurant)
 {
     IconUrl = iconUrl;
     //Label = label;
     RestaurantName = restaurant.name;
     Address        = restaurant.Location.address;
     Latitude       = float.Parse(restaurant.Location.latitude);
     Longitude      = float.Parse(restaurant.Location.longitude);
     Url            = restaurant.url;
 }
Ejemplo n.º 2
0
 public IActionResult NewRestaurant(Restaurant2 food)
 {
     TempStorage.AddAplication(food);
     return(View("confirmation", food));
 }
Ejemplo n.º 3
0
 public Restaurant(Restaurant2 restaurant)
 {
 }