public IActionResult Suggestion(SuggestInfo info) { if (ModelState.IsValid) { TempStorage.AddRestaurantInfo(info); return(View("Confirmation", info)); } else { return(View()); } }
public IActionResult Suggestion(SuggestInfo info) { if (ModelState.IsValid) { TempStorage.AddRestaurantInfo(info); return(View("Confirmation", info)); } else { return(View()); } }