public IActionResult Find_Order(Find_Order find_Order) { var findOrders = _context.Database.ExecuteSqlRaw("EXEC Find_Order @Order_Id", new SqlParameter("@Order_Id", find_Order.OrderId)); ViewBag.Success = findOrders; return(View("Index")); }
public Page_Order() { InitializeComponent(); DataContext = new Find_Order(); }