public ActionResult Create(int vendorId, string title, string description, int price, string date) { Dictionary <string, object> model = new Dictionary <string, object>(); Vendor findVendor = Vendor.Find(vendorId); Order newOrder = new Order(title, description, price, date); findVendor.AddingOrder(newOrder); List <Order> vendorOrders = findVendor.Orders; model.Add("orders", vendorOrders); model.Add("vendor", findVendor); return(View("Show", model)); }