Example #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;
 }
Example #2
0
 public IActionResult NewRestaurant(Restaurant2 food)
 {
     TempStorage.AddAplication(food);
     return(View("confirmation", food));
 }
Example #3
0
 public Restaurant(Restaurant2 restaurant)
 {
 }