// GET: Lamps/Create public async Task <IActionResult> Create() { var producent = await producentRepository.GetAllAsync(); ViewData["Producent"] = producent; return(View()); }
public async Task <IActionResult> Index() { var kopers = await producentRepository.GetAllAsync(); return(View(kopers)); }