public IActionResult Ingredients() { try { var model = _repository.GetAllIngredients(); return(View(model)); } catch (Exception ex) { return(View("Error", ex)); } }
public IActionResult Ingredients() { try { var model = _repository.GetAllIngredients(); return(View(model)); } catch (Exception ex) { return(View("Error", ex)); } }