public IActionResult AddSilo(Silo_ViewModel Silo_ViewModel) { var newSilo = sqlRepository.AddSilo(Silo_ViewModel.silo); return(RedirectToAction("ListOfSilos")); }
public IActionResult AddSilo(Silo_ViewModel Silo_ViewModel) { var newSilo = sqlRepository.AddSilo(Silo_ViewModel.silo); return(RedirectToAction("ListOfSilos")); }