public async Task <ActionResult> Create(int id) { ViewBag.Details = await details.GetAll(); ViewBag.Order = await orders.Get(id); return(View()); }
public async Task <ActionResult> Index() { return(View(await details.GetAll())); }